1
0
Fork 0
fgdata/gui/dialogs/sound.xml
andy cd9119008d Misc changes. Remove the width/height values for the slider, since
the root problem was a C++ bug.  Remove the no-op hbox around the mute
button, and make it "live" when clicked.  Tried to make the slider
live, but discovered that bindings don't work on them; gotta fix
that.  Change some of the wording to be more in line with standard
conventions; hopefully Curt's OK with that. :)
2004-05-14 17:35:18 +00:00

55 lines
1 KiB
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>
</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>
</slider>
<!-- This doesn't work: need to find out why and fix it. -Andy -->
<binding>
<command>dialog-apply</command>
</binding>
</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>