1
0
Fork 0
fgdata/gui/dialogs/sound.xml
andy fcab4c6e7b That didn't work. I found out why and fixed it. (Heh. Don't put the
bindings on the group object.  Those don't fire callbacks very often.)
2004-05-14 21:57:33 +00:00

55 lines
1,021 B
XML

<?xml version="1.0"?>
<!-- Sound control dialog -->
<!--
/sim/sound/pause
/sim/sound/volume
-->
<PropertyList>
<name>sound-dialog</name>
<layout>vbox</layout>
<text>
<label>Sound Configuration</label>
<padding>10</padding>
</text>
<checkbox>
<label>Mute Sound</label>
<property>/sim/sound/pause</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<group>
<layout>hbox</layout>
<text><label>Volume:</label></text>
<slider>
<property>/sim/sound/volume</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<group>
<layout>hbox</layout>
<default-padding>10</default-padding>
<button>
<legend>OK</legend>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
<default>true</default>
</button>
</group>
</PropertyList>