1
0
Fork 0
fgdata/gui/dialogs/cockpit-view.xml

177 lines
3.6 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>cockpit-view</name>
<layout>vbox</layout>
<default-padding>4</default-padding>
<modal>false</modal>
<text>
<label>Cockpit View Options</label>
</text>
<hrule/>
<checkbox>
<halign>left</halign>
<label>Enable dynamic cockpit view</label>
<property>/sim/current-view/dynamic-view</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Enable view movement due to G-force</label>
<property>/sim/rendering/headshake/enabled</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<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>