no longer needed; gui.OverlaySelector uses generic overlay-select.xml now
This commit is contained in:
parent
a021ab0af0
commit
4b9f8ecb1f
1 changed files with 0 additions and 60 deletions
|
@ -1,60 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<name>formation-select</name>
|
||||
<layout>vbox</layout>
|
||||
<x>-20</x>
|
||||
<pref-width>200</pref-width>
|
||||
|
||||
<nasal>
|
||||
<open>
|
||||
var list = cmdarg().getNode("list");
|
||||
list.removeChildren("value");
|
||||
forindex (var i; aircraft.formation.data)
|
||||
list.getChild("value", i, 1).setValue(aircraft.formation.data[i][0]);
|
||||
</open>
|
||||
</nasal>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
||||
<text>
|
||||
<label>Select Formation</label>
|
||||
</text>
|
||||
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
||||
<button>
|
||||
<pref-width>16</pref-width>
|
||||
<pref-height>16</pref-height>
|
||||
<legend></legend>
|
||||
<default>1</default>
|
||||
<keynum>27</keynum>
|
||||
<border>2</border>
|
||||
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>aircraft.formation.dialog.close()</script>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<list>
|
||||
<halign>fill</halign>
|
||||
<pref-height>200</pref-height>
|
||||
<property>/sim/gui/dialogs/formation-select/name</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var name = getprop("/sim/gui/dialogs/formation-select/name");
|
||||
aircraft.formation.select(name);
|
||||
</script>
|
||||
</binding>
|
||||
</list>
|
||||
</PropertyList>
|
Loading…
Reference in a new issue