1
0
Fork 0
fgdata/gui/dialogs/stereoscopic-view-options.xml
Stuart Buchanan 3d7d00ead9 Minor changes various dialogs to make generally consistent:
- Title bar with cancel button in top left hand side.
- horizontal line dividing main dialog from bottom buttons
- Minor layout and Nasal fixes.
2010-12-27 20:19:31 +00:00

120 lines
2.8 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>stereoscopic-view-options</name>
<modal>false</modal>
<resizable>false</resizable>
<layout>vbox</layout>
<default-padding>3</default-padding>
<group>
<layout>hbox</layout>
<default-padding>1</default-padding>
<empty>
<stretch>true</stretch>
</empty>
<text>
<label>Stereoscopic View Options</label>
</text>
<empty>
<stretch>true</stretch>
</empty>
<button>
<legend></legend>
<key>Esc</key>
<pref-width>16</pref-width>
<pref-height>16</pref-height>
<border>2</border>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<default-padding>1</default-padding>
<text><label>Stereo Mode</label></text>
<empty><stretch>true</stretch></empty>
<combo>
<width>250</width>
<height>25</height>
<live>true</live>
<property>/sim/rendering/osg-displaysettings/stereo-mode</property>
<value>OFF</value>
<value>QUAD_BUFFER</value>
<value>ANAGLYPHIC</value>
<value>HORIZONTAL_SPLIT</value>
<value>VERTICAL_SPLIT</value>
<value>LEFT_EYE</value>
<value>RIGHT_EYE</value>
<value>HORIZONTAL_INTERLACE</value>
<value>VERTICAL_INTERLACE</value>
<value>CHECKERBOARD</value>
<binding>
<command>dialog-apply</command>
</binding>
</combo>
</group>
<group>
<layout>hbox</layout>
<default-padding>1</default-padding>
<text><label>Screen Distance</label></text>
<empty><stretch>true</stretch></empty>
<slider>
<min>0</min>
<max>10.0</max>
<property>/sim/rendering/osg-displaysettings/screen-distance</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/osg-displaysettings/screen-distance</property>
</text>
</group>
<group>
<layout>hbox</layout>
<default-padding>1</default-padding>
<text><label>Eye Separation</label></text>
<empty><stretch>true</stretch></empty>
<slider>
<min>0</min>
<max>0.2</max>
<property>/sim/rendering/osg-displaysettings/eye-separation</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/osg-displaysettings/eye-separation</property>
</text>
</group>
<hrule/>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>