1
0
Fork 0
fgdata/gui/dialogs/redout.xml
stuart dd923792ec Add generic blackout/redout for all aircraft, along with a gui.
Based on previous work by vivian and myself.
2008-02-16 08:26:59 +00:00

159 lines
3 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/blackout-onset-g</property>
</text>
<slider>
<row>0</row>
<col>2</col>
<min>1.0</min>
<max>15</max>
<property>/sim/rendering/redout/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/blackout-complete-g</property>
</text>
<slider>
<row>1</row>
<col>2</col>
<min>1.0</min>
<max>15</max>
<property>/sim/rendering/redout/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/redout-onset-g</property>
</text>
<slider>
<row>0</row>
<col>2</col>
<min>-1.0</min>
<max>-15.0</max>
<property>/sim/rendering/redout/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/redout-complete-g</property>
</text>
<slider>
<row>1</row>
<col>2</col>
<min>-1.0</min>
<max>-15.0</max>
<property>/sim/rendering/redout/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>