1
0
Fork 0

Add a rendering options menu

This commit is contained in:
ehofman 2003-06-17 17:48:37 +00:00
parent 24c5b2e512
commit 33399078ca
2 changed files with 104 additions and 0 deletions

96
gui/dialogs/rendering.xml Normal file
View file

@ -0,0 +1,96 @@
<?xml version="1.0"?>
<PropertyList>
<!-- FlightGear rendering options -->
<name>rendering</name>
<width>380</width>
<height>200</height>
<modal>false</modal>
<text>
<x>10</x>
<y>170</y>
<label>Rendering Options</label>
</text>
<text>
<x>30</x>
<y>150</y>
<label>(Check an option to enable it.)</label>
</text>
<checkbox>
<x>30</x>
<y>110</y>
<width>20</width>
<height>20</height>
<label>Sun/Moon horizon effect</label>
<property>/sim/rendering/horizon-effect</property>
</checkbox>
<checkbox>
<x>30</x>
<y>80</y>
<width>20</width>
<height>20</height>
<label>Enhanced runway lighting</label>
<property>/sim/rendering/enhanced-lighting</property>
</checkbox>
<checkbox>
<x>30</x>
<y>50</y>
<width>20</width>
<height>20</height>
<label>Runway light distance attenuation</label>
<property>/sim/rendering/distance-attenuation</property>
</checkbox>
<group>
<y>10</y>
<button>
<x>10</x>
<y>0</y>
<legend>OK</legend>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
<default>true</default>
</button>
<button>
<x>60</x>
<y>0</y>
<legend>Apply</legend>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<button>
<x>140</x>
<y>0</y>
<legend>Reset</legend>
<binding>
<command>dialog-update</command>
</binding>
</button>
<button>
<x>220</x>
<y>0</y>
<legend>Cancel</legend>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>

View file

@ -91,6 +91,14 @@
</binding>
</item>
<item>
<label>Rendering options</label>
<binding>
<command>dialog-show</command>
<dialog-name>rendering</dialog-name>
</binding>
</item>
<item>
<label>Adjust View Distance</label>
<binding>