Autumn colors by pixel postprocessing with color rotation encoded in the terrain...
[fg:toms-fgdata.git] / gui / dialogs / environment-settings.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4   <name>environment-settings</name>
5   <modal>false</modal>
6   <resizable>false</resizable>
7   <layout>vbox</layout>
8   <default-padding>3</default-padding>
9
10   <!-- Title bar with close button -->
11   <group>
12     <layout>hbox</layout>
13     <default-padding>1</default-padding>
14
15     <empty>
16       <stretch>true</stretch>
17     </empty>
18
19     <text>
20       <label>Environment Settings</label>
21     </text>
22
23     <empty>
24       <stretch>true</stretch>
25     </empty>
26
27     <button>
28       <legend/>
29       <key>Esc</key>
30       <pref-width>16</pref-width>
31       <pref-height>16</pref-height>
32       <border>2</border>
33       <binding>
34         <command>dialog-close</command>
35       </binding>
36     </button>
37   </group>
38
39   <hrule/>
40
41   <group>
42     <layout>table</layout>
43     
44     <text>
45       <row>0</row>
46       <col>0</col>
47       <label>Ground textures:</label>
48       <halign>right</halign>
49     </text>
50     <combo>
51       <row>0</row>
52       <col>1</col>
53       <name>season</name>
54       <halign>left</halign>
55       <live>true</live>
56       <property>/sim/startup/season</property>
57       <value>summer</value>
58       <value>winter</value>
59       <binding>
60         <command>dialog-apply</command>
61         <object-name>season</object-name>
62       </binding>
63     </combo>
64
65     <button>
66       <row>0</row>
67       <col>2</col>
68       <legend>Reload Scenery</legend>
69       <binding>
70         <command>reinit</command>
71         <subsystem>tile-manager</subsystem>
72       </binding>
73     </button>
74     
75   </group>
76     
77   <hrule/>
78   
79     
80   <group>
81     <layout>table</layout>
82     
83     <text>
84       <row>0</row>
85       <col>0</col>
86       <colspan>4</colspan>
87       <halign>left</halign>
88       <label>Ground conditions (requires shaders effects)</label>
89     </text>
90     
91     <checkbox>
92       <row>1</row>
93       <col>0</col>
94       <colspan>4</colspan>
95       <halign>left</halign>
96       <label>Set maximum snow level from METAR</label>
97       <name>metar-snow</name>
98       <property>/environment/params/metar-updates-snow-level</property>
99       <binding>
100         <command>dialog-apply</command>
101         <object-name>metar-snow</object-name>
102       </binding>
103     </checkbox>
104     
105     <text>
106       <label>Snow line</label>
107       <halign>left</halign>
108       <row>2</row>
109       <col>0</col>
110     </text>
111     
112     <text>
113       <label>-425m</label>
114       <halign>right</halign>
115       <row>2</row>
116       <col>1</col>
117     </text>
118         
119     <slider>
120       <name>snow-level</name>
121       <row>2</row>
122       <col>2</col>
123       <min>-425.0</min>
124       <max>7500.0</max>
125       <live>true</live>
126       <property>/environment/snow-level-m</property>
127       <binding>
128         <command>dialog-apply</command>
129         <object-name>snow-level</object-name>
130       </binding>
131     </slider>
132
133     <text>
134       <label>7500m</label>
135       <halign>left</halign>
136       <row>2</row>
137       <col>3</col>
138     </text>
139     
140     <text>
141       <row>2</row>
142       <col>4</col>
143       <label>12345678</label>
144       <format>%.fm</format>
145       <live>true</live>
146       <property>/environment/snow-level-m</property>
147     </text>    
148     
149
150    <text>
151       <label>Snow thickness</label>
152       <halign>left</halign>
153       <row>3</row>
154       <col>0</col>
155     </text>
156     
157     <text>
158       <label>thin</label>
159       <halign>right</halign>
160       <row>3</row>
161       <col>1</col>
162     </text>
163         
164     <slider>
165       <name>snow-thickness</name>
166       <row>3</row>
167       <col>2</col>
168       <min>0.0</min>
169       <max>0.6</max>
170       <live>true</live>
171       <property>/environment/surface/snow-thickness-factor</property>
172       <binding>
173         <command>dialog-apply</command>
174         <object-name>snow-thickness</object-name>
175       </binding>
176     </slider>
177
178     <text>
179       <label>thick</label>
180       <halign>left</halign>
181       <row>3</row>
182       <col>3</col>
183     </text>
184
185     <text>
186       <label>Dust cover</label>
187       <halign>left</halign>
188       <row>4</row>
189       <col>0</col>
190     </text>
191     
192     <text>
193       <label>none</label>
194       <halign>right</halign>
195       <row>4</row>
196       <col>1</col>
197     </text>
198         
199     <slider>
200       <name>dust-level</name>
201       <row>4</row>
202       <col>2</col>
203       <min>0.0</min>
204       <max>0.7</max>
205       <live>true</live>
206       <property>/environment/surface/dust-cover-factor</property>
207       <binding>
208         <command>dialog-apply</command>
209         <object-name>dust-level</object-name>
210       </binding>
211     </slider>
212
213     <text>
214       <label>dusty</label>
215       <halign>left</halign>
216       <row>4</row>
217       <col>3</col>
218     </text>
219
220     <text>
221       <label>Wetness</label>
222       <halign>left</halign>
223       <row>5</row>
224       <col>0</col>
225     </text>
226     
227     <text>
228       <label>dry</label>
229       <halign>right</halign>
230       <row>5</row>
231       <col>1</col>
232     </text>
233         
234     <slider>
235       <name>wetness</name>
236       <row>5</row>
237       <col>2</col>
238       <min>0.0</min>
239       <max>0.7</max>
240       <live>true</live>
241       <property>/environment/surface/wetness</property>
242       <binding>
243         <command>dialog-apply</command>
244         <object-name>wetness</object-name>
245       </binding>
246     </slider>
247
248     <text>
249       <label>wet</label>
250       <halign>left</halign>
251       <row>5</row>
252       <col>3</col>
253     </text>
254     
255
256     <text>
257       <label>Vegetation</label>
258       <halign>left</halign>
259       <row>6</row>
260       <col>0</col>
261     </text>
262     
263     <text>
264       <label>none</label>
265       <halign>right</halign>
266       <row>6</row>
267       <col>1</col>
268     </text>
269         
270     <slider>
271       <name>lichen-level</name>
272       <row>6</row>
273       <col>2</col>
274       <min>0.0</min>
275       <max>0.7</max>
276       <live>true</live>
277       <property>/environment/surface/lichen-cover-factor</property>
278       <binding>
279         <command>dialog-apply</command>
280         <object-name>lichen-level</object-name>
281       </binding>
282     </slider>
283
284     <text>
285       <label>mossy</label>
286       <halign>left</halign>
287       <row>6</row>
288       <col>3</col>
289     </text>
290
291
292     <text>
293       <label>Season</label>
294       <halign>left</halign>
295       <row>7</row>
296       <col>0</col>
297     </text>
298     
299     <text>
300       <label>summer</label>
301       <halign>right</halign>
302       <row>7</row>
303       <col>1</col>
304     </text>
305         
306     <slider>
307       <name>season</name>
308       <row>7</row>
309       <col>2</col>
310       <min>0.0</min>
311       <max>2.0</max>
312       <live>true</live>
313       <property>/environment/season</property>
314       <binding>
315         <command>dialog-apply</command>
316         <object-name>season</object-name>
317       </binding>
318     </slider>
319
320     <text>
321       <label>late autumn</label>
322       <halign>left</halign>
323       <row>7</row>
324       <col>3</col>
325     </text>
326
327   </group>
328   
329   <hrule/>
330
331   <group>
332     <empty>
333       <stretch>true</stretch>
334     </empty>
335     <layout>hbox</layout>
336
337     <button>
338       <legend>Close</legend>
339       <default>true</default>
340       <key>Esc</key>
341       <binding>
342         <command>dialog-close</command>
343       </binding>
344     </button>
345     <empty>
346       <stretch>true</stretch>
347     </empty>
348   </group>
349
350 </PropertyList>