1
0
Fork 0
fgdata/gui/dialogs/redout.xml
stuart dc4ad0dc80 Update to generic blackout, incorporating feedback from Melchior FRANZ:
- Update redout level every frame
 - Replace reading of properties every iteration with listeners
 - move -onset and -complete properties into a parameters subtree
2008-02-16 20:23:27 +00:00

159 lines
3.2 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>redout</name>
<layout>vbox</layout>
<default-padding>4</default-padding>
<modal>false</modal>
<text>
<label>G-Force Blackout Settings</label>
</text>
<hrule/>
<checkbox>
<halign>left</halign>
<label>Enable Blackout and Redout due to G-force.</label>
<property>/sim/rendering/redout/enabled</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<hrule/>
<text>
<halign>center</halign>
<label>Blackout</label>
</text>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>Onset</label>
</text>
<text>
<row>0</row>
<col>1</col>
<halign>center</halign>
<label>15.0</label>
<format>%2.1f</format>
<live>true</live>
<property>/sim/rendering/redout/parameters/blackout-onset-g</property>
</text>
<slider>
<row>0</row>
<col>2</col>
<min>1.0</min>
<max>15</max>
<property>/sim/rendering/redout/parameters/blackout-onset-g</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<row>1</row>
<col>0</col>
<label>Complete</label>
</text>
<text>
<row>1</row>
<col>1</col>
<halign>center</halign>
<label>15.0</label>
<format>%2.1f</format>
<live>true</live>
<property>/sim/rendering/redout/parameters/blackout-complete-g</property>
</text>
<slider>
<row>1</row>
<col>2</col>
<min>1.0</min>
<max>15</max>
<property>/sim/rendering/redout/parameters/blackout-complete-g</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<hrule/>
<text>
<halign>center</halign>
<label>Redout</label>
</text>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>Onset</label>
</text>
<text>
<row>0</row>
<col>1</col>
<halign>center</halign>
<label>15.0</label>
<format>%2.1f</format>
<live>true</live>
<property>/sim/rendering/redout/parameters/redout-onset-g</property>
</text>
<slider>
<row>0</row>
<col>2</col>
<min>-1.0</min>
<max>-15.0</max>
<property>/sim/rendering/redout/parameters/redout-onset-g</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<row>1</row>
<col>0</col>
<label>Complete</label>
</text>
<text>
<row>1</row>
<col>1</col>
<label>15.0</label>
<format>%2.1f</format>
<live>true</live>
<property>/sim/rendering/redout/parameters/redout-complete-g</property>
</text>
<slider>
<row>1</row>
<col>2</col>
<min>-1.0</min>
<max>-15.0</max>
<property>/sim/rendering/redout/parameters/redout-complete-g</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>