New option to display frame latency.
[fg:toms-fgdata.git] / gui / dialogs / display.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4   <name>display</name>
5   <modal>false</modal>
6   <layout>vbox</layout>
7   <padding>20</padding>
8
9   <group>
10     <layout>hbox</layout>
11     <empty><stretch>1</stretch></empty>
12
13     <text>
14       <label>Display Options</label>
15     </text>
16
17     <empty><stretch>1</stretch></empty>
18
19     <button>
20       <pref-width>16</pref-width>
21       <pref-height>16</pref-height>
22       <legend></legend>
23       <keynum>27</keynum>
24       <border>2</border>
25       <binding>
26         <command>dialog-close</command>
27       </binding>
28     </button>
29   </group>
30
31   <hrule/>
32
33   <group>
34     <layout>vbox</layout>
35     <halign>center</halign>
36
37     <checkbox>
38       <halign>left</halign>
39       <label>Show frame rate</label>
40       <property>/sim/rendering/fps-display</property>
41       <binding>
42         <command>dialog-apply</command>
43       </binding>
44     </checkbox>
45
46     <checkbox>
47       <halign>left</halign>
48       <label>Show worst-case frame latency</label>
49       <property>/sim/rendering/frame-latency-display</property>
50       <binding>
51         <command>dialog-apply</command>
52       </binding>
53     </checkbox>
54
55     <checkbox>
56       <halign>left</halign>
57       <label>Show chat messages</label>
58       <property>/sim/multiplay/chat-display</property>
59       <binding>
60         <command>dialog-apply</command>
61       </binding>
62     </checkbox>
63
64     <checkbox>
65       <halign>left</halign>
66       <label>Show view name popup</label>
67       <property>/sim/view-name-popup</property>
68       <binding>
69         <command>dialog-apply</command>
70       </binding>
71     </checkbox>
72
73     <checkbox>
74       <halign>left</halign>
75       <label>Show 2D panel</label>
76       <property>/sim/panel/visibility</property>
77       <binding>
78         <command>dialog-apply</command>
79       </binding>
80     </checkbox>
81
82     <checkbox>
83       <halign>left</halign>
84       <label>Autohide menubar</label>
85       <property>/sim/menubar/autovisibility/enabled</property>
86       <binding>
87         <command>dialog-apply</command>
88       </binding>
89     </checkbox>
90
91     <group>
92       <layout>hbox</layout>
93
94       <checkbox>
95         <label>Autohide cursor in</label>
96         <property>/sim/mouse/hide-cursor</property>
97         <binding>
98           <command>dialog-apply</command>
99         </binding>
100       </checkbox>
101
102       <input>
103         <live>true</live>
104         <pref-width>40</pref-width>
105         <pref-height>10</pref-height>
106         <enable>
107           <property>/sim/mouse/hide-cursor</property>
108         </enable>
109         <property>/sim/mouse/cursor-timeout-sec</property>
110         <binding>
111           <command>dialog-apply</command>
112         </binding>
113       </input>
114
115       <text>
116         <label>sec.</label>
117       </text>
118     </group>
119
120   </group>
121
122   <hrule/>
123
124   <button>
125     <legend>Close</legend>
126     <default>true</default>
127     <key>Esc</key>
128     <binding>
129       <command>dialog-close</command>
130     </binding>
131   </button>
132
133 </PropertyList>