Debian Codegraph @

gui/dialogs/lag-adjust.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3
4 <PropertyList>
5 <name>lag-adjust</name>
6 <layout>vbox</layout>
7 <resizable>false</resizable>
8
9
10 <!-- titlebar -->
11 <group>
12 <layout>hbox</layout>
13
14 <text>
15 <label>Lag Correction Settings</label>
16 </text>
17
18 <empty><stretch>1</stretch></empty>
19
20 <button>
21 <legend>X</legend>
22 <key>Esc</key>
23 <pref-width>20</pref-width>
24 <pref-height>20</pref-height>
25 <binding>
26 <command>dialog-close</command>
27 </binding>
28 </button>
29 </group>
30 <hrule/>
31
32 <!-- main dialog area -->
33 <group>
34 <layout>table</layout>
35 <halign>center</halign>
36
37 <text>
38 <row>0</row>
39 <col>0</col>
40 <halign>right</halign>
41 <label>Master switch:</label>
42 </text>
43 <checkbox>
44 <row>0</row>
45 <col>1</col>
46 <colspan>2</colspan>
47 <halign>left</halign>
48 <name>master</name>
49 <property>/sim/multiplay/lag/master</property>
50 <live>true</live>
51 <binding>
52 <command>dialog-apply</command>
53 <object-name>master</object-name>
54 </binding>
55 </checkbox>
56
57 <button>
58 <row>0</row>
59 <col>3</col>
60 <legend>help (in browser)</legend>
61 <binding>
62 <command>nasal</command>
63 <script>
64 fgcommand("open-browser", props.Node.new({ "url": "http://wiki.flightgear.org/Real_Time_manual" }))
65 </script>
66 </binding>
67 </button>
68
69 <text>
70 <row>1</row>
71 <col>0</col>
72 <halign>right</halign>
73 <label>Lag adjustment:</label>
74 </text>
75 <slider>
76 <row>1</row>
77 <col>1</col>
78 <name>lag-adjustment</name>
79 <min>-0.1</min>
80 <max>0.15</max>
81 <step>0.001</step>
82 <property>/sim/multiplay/lag/offset</property>
83 <binding>
84 <command>dialog-apply</command>
85 <object-name>lag-adjustment</object-name>
86 </binding>
87 </slider>
88 <text>
89 <!--<visible>
90 <property>/sim/multiplay/online</property>
91 </visible> -->
92 <row>1</row>
93 <col>3</col>
94 <halign>left</halign>
95 <label>MMMMMMMMMMMMMMMMMM</label>
96 <format>%.3f s</format>
97 <property>/sim/multiplay/lag/offset</property>
98 <live>true</live>
99 </text>
100
101 <text>
102 <row>2</row>
103 <col>0</col>
104 <label>Apply to close mp</label>
105 <halign>right</halign>
106 </text>
107 <checkbox>
108 <row>2</row>
109 <col>1</col>
110 <colspan>2</colspan>
111 <halign>left</halign>
112 <name>apply-close</name>
113 <property>/sim/multiplay/lag/apply-close</property>
114 <binding>
115 <command>dialog-apply</command>
116 <object-name>apply-close</object-name>
117 </binding>
118 </checkbox>
119 <slider>
120 <row>2</row>
121 <col>2</col>
122 <name>range</name>
123 <min>1</min>
124 <max>15</max>
125 <step>0.1</step>
126 <property>/sim/multiplay/lag/range</property>
127 <binding>
128 <command>dialog-apply</command>
129 <object-name>range</object-name>
130 </binding>
131 </slider>
132 <text>
133 <!-- <visible>
134 <property>/sim/multiplay/online</property>
135 </visible> -->
136 <row>2</row>
137 <col>3</col>
138 <halign>left</halign>
139 <label>MMMMMMMMMMMMMMMMMMMMM</label>
140 <format>%.1f nm</format>
141 <property>/sim/multiplay/lag/range</property>
142 <live>true</live>
143 </text>
144
145 <text>
146 <row>3</row>
147 <col>0</col>
148 <label>Spectator mode</label>
149 <halign>right</halign>
150 </text>
151 <checkbox>
152 <row>3</row>
153 <col>1</col>
154 <colspan>2</colspan>
155 <halign>left</halign>
156 <name>spectator</name>
157 <!-- <label>Hide replay sessions over MP (less annoying to other players)</label> -->
158 <property>/sim/multiplay/lag/spectator</property>
159 <binding>
160 <command>dialog-apply</command>
161 <object-name>spectator</object-name>
162 </binding>
163 </checkbox>
164 <slider>
165 <row>3</row>
166 <col>2</col>
167 <name>spectator-offset</name>
168 <min>0</min>
169 <max>1</max>
170 <step>0.05</step>
171 <property>/sim/multiplay/lag/spectator-offset</property>
172 <binding>
173 <command>dialog-apply</command>
174 <object-name>spectator-offset</object-name>
175 </binding>
176 </slider>
177 <text>
178 <!-- <visible>
179 <property>/sim/multiplay/online</property>
180 </visible> -->
181 <row>3</row>
182 <col>3</col>
183 <halign>left</halign>
184 <label>MMMMMMMMMMMMMMMMMMMMM</label>
185 <format>%.2f s</format>
186 <property>/sim/multiplay/lag/spectator-offset</property>
187 <live>true</live>
188 </text>
189
190 <text>
191 <row>4</row>
192 <col>0</col>
193 <label>Clock offset</label>
194 <halign>right</halign>
195 </text>
196
197 <input>
198 <name>clock-offset</name>
199 <row>4</row>
200 <col>1</col>
201 <width>75</width>
202 <height>25</height>
203 <label>Seconds</label>
204 <live>true</live>
205 <property>/sim/time/mp-clock-offset-sec</property>
206 <binding>
207 <command>dialog-apply</command>
208 <object-name>clock-offset</object-name>
209 </binding>
210 </input>
211
212 <text>
213 <row>5</row>
214 <col>0</col>
215 <label>Max sim time /frame</label>
216 <halign>right</halign>
217 </text>
218
219 <input>
220 <name>max-simtime</name>
221 <row>5</row>
222 <col>1</col>
223 <width>45</width>
224 <height>25</height>
225 <label>Seconds</label>
226 <live>true</live>
227 <property>/sim/max-simtime-per-frame</property>
228 <binding>
229 <command>dialog-apply</command>
230 <object-name>max-simtime</object-name>
231 </binding>
232 </input>
233 </group>
234
235 </PropertyList>