1
0
Fork 0

gui/dialogs/radios.xml: added controls of ATIS speech.

This commit is contained in:
Julian Smith 2020-10-22 18:04:49 +01:00
parent 1d4bc4cc1a
commit dffa547c1c

View file

@ -513,8 +513,116 @@
</binding>
</button>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<text>
<label>ATIS speech</label>
</text>
<empty><stretch>1</stretch></empty>
<checkbox>
<label>Enabled</label>
<live>true</live>
<property>/sim/atis/enabled</property>
<binding>
<command>property-toggle</command>
<property>/sim/atis/enabled</property>
</binding>
</checkbox>
<empty><stretch>1</stretch></empty>
<group>
<layout>vbox</layout>
<default-padding>0</default-padding>
<button>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>+</legend>
<binding>
<command>property-adjust</command>
<property>/sim/atis/speed</property>
<step>+0.1</step>
<max>10</max>
</binding>
<binding>
<command>dialog-update</command>
</binding>
</button>
<button>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>-</legend>
<binding>
<command>property-adjust</command>
<property>/sim/atis/speed</property>
<step>-0.1</step>
<min>0</min>
</binding>
<binding>
<command>dialog-update</command>
</binding>
</button>
</group>
<empty><stretch>0</stretch></empty>
<input>
<label>Speed</label>
<pref-width>50</pref-width>
<property>/sim/atis/speed</property>
</input>
<empty><stretch>1</stretch></empty>
<group>
<layout>vbox</layout>
<default-padding>0</default-padding>
<button>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>+</legend>
<binding>
<command>property-adjust</command>
<property>/sim/atis/pitch</property>
<step>+0.1</step>
<max>10</max>
</binding>
<binding>
<command>dialog-update</command>
</binding>
</button>
<button>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>-</legend>
<binding>
<command>property-adjust</command>
<property>/sim/atis/pitch</property>
<step>-0.1</step>
<min>0</min>
</binding>
<binding>
<command>dialog-update</command>
</binding>
</button>
</group>
<empty><stretch>0</stretch></empty>
<input>
<label>Pitch</label>
<pref-width>50</pref-width>
<property>/sim/atis/pitch</property>
</input>
<empty><stretch>1</stretch></empty>
</group>
<!-- TACAN related things -->