Merge commit 'refs/merge-requests/6' of git://gitorious.org/fg/fgdata into integration
This commit is contained in:
commit
00fb990997
1 changed files with 91 additions and 91 deletions
|
@ -1,92 +1,92 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
|
|
||||||
<name>pushback</name>
|
<name>pushback</name>
|
||||||
<layout>vbox</layout>
|
<layout>vbox</layout>
|
||||||
|
|
||||||
<nasal>
|
<nasal>
|
||||||
<open>
|
<open>
|
||||||
var pushback_position = aircraft.door.new("sim/model/pushback", 10.0);
|
var pushback_position = aircraft.door.new("sim/model/pushback", 10.0);
|
||||||
pushback_position.setpos(pushback_position.getpos());
|
pushback_position.setpos(pushback_position.getpos());
|
||||||
props.globals.getNode("/sim/model/pushback/enabled", 1 ).setBoolValue(1);
|
props.globals.getNode("/sim/model/pushback/enabled", 1 ).setBoolValue(1);
|
||||||
props.globals.initNode("/sim/model/pushback/target-speed-fps", 0.0 );
|
props.globals.initNode("/sim/model/pushback/target-speed-fps", 0.0 );
|
||||||
</open>
|
</open>
|
||||||
<close>
|
<close>
|
||||||
pushback_position.setpos(0);
|
pushback_position.setpos(0);
|
||||||
setprop("/sim/model/pushback/enabled", 0 );
|
setprop("/sim/model/pushback/enabled", 0 );
|
||||||
setprop("/sim/model/pushback/target-speed-fps", 0 );
|
setprop("/sim/model/pushback/target-speed-fps", 0 );
|
||||||
</close>
|
</close>
|
||||||
</nasal>
|
</nasal>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<text>
|
<text>
|
||||||
<label>Pushback</label>
|
<label>Pushback</label>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<empty>
|
<empty>
|
||||||
<stretch>true</stretch>
|
<stretch>true</stretch>
|
||||||
</empty>
|
</empty>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<legend/>
|
<legend/>
|
||||||
<key>Esc</key>
|
<key>Esc</key>
|
||||||
<pref-width>16</pref-width>
|
<pref-width>16</pref-width>
|
||||||
<pref-height>16</pref-height>
|
<pref-height>16</pref-height>
|
||||||
<border>2</border>
|
<border>2</border>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-close</command>
|
<command>dialog-close</command>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<hrule/>
|
<hrule/>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<stretch>true</stretch>
|
<stretch>true</stretch>
|
||||||
<layout>vbox</layout>
|
<layout>vbox</layout>
|
||||||
<halign>center</halign>
|
<halign>center</halign>
|
||||||
<valign>top</valign>
|
<valign>top</valign>
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>(Dis)Connect pushback</label>
|
<label>(Dis)Connect pushback</label>
|
||||||
<property>/sim/model/pushback/position-norm</property>
|
<property>/sim/model/pushback/position-norm</property>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>pushback_position.toggle();</script>
|
<script>pushback_position.toggle();</script>
|
||||||
</binding>
|
</binding>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>Speed:</label>
|
<label>Speed:</label>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<slider>
|
<slider>
|
||||||
<row>0</row>
|
<row>0</row>
|
||||||
<col>2</col>
|
<col>2</col>
|
||||||
<min>-25</min> <!-- +/- 15kts -->
|
<min>-25</min> <!-- +/- 15kts -->
|
||||||
<max>25</max>
|
<max>25</max>
|
||||||
<property>/sim/model/pushback/target-speed-fps</property>
|
<property>/sim/model/pushback/target-speed-fps</property>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-apply</command>
|
<command>dialog-apply</command>
|
||||||
</binding>
|
</binding>
|
||||||
</slider>
|
</slider>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<pref-width>16</pref-width>
|
<pref-width>16</pref-width>
|
||||||
<property>/sim/model/pushback/target-speed-fps</property>
|
<property>/sim/model/pushback/target-speed-fps</property>
|
||||||
<format>%2.0f</format>
|
<format>%2.0f</format>
|
||||||
<live>true</live>
|
<live>true</live>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>fps</label>
|
<label>fps</label>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
</group> </PropertyList>
|
</group> </PropertyList>
|
Loading…
Reference in a new issue