Merge branch 'dev' of https://github.com/it0uchpods/IDG-A32X into dev
This commit is contained in:
commit
6ffae323c2
7 changed files with 2695 additions and 7 deletions
|
@ -357,6 +357,24 @@
|
|||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>Show Left MCDU</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
canvas_mcdu.showMCDU1();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>Show Right MCDU</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
canvas_mcdu.showMCDU2();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
</menu>
|
||||
</default>
|
||||
</menubar>
|
||||
|
|
|
@ -1741,13 +1741,13 @@ var MCDU_update_fast = maketimer(0.125, func {
|
|||
});
|
||||
|
||||
var showMCDU1 = func {
|
||||
var dlg = canvas.Window.new([512, 432], "dialog").set("resize", 1);
|
||||
dlg.setCanvas(MCDU1_display);
|
||||
var mcdu1_dlg = gui.Dialog.new("sim/gui/dialogs/mcdu1/dialog", "Aircraft/IDG-A32X/Systems/mcdu1-dlg.xml");
|
||||
mcdu1_dlg.open();
|
||||
}
|
||||
|
||||
var showMCDU2 = func {
|
||||
var dlg = canvas.Window.new([512, 432], "dialog").set("resize", 1);
|
||||
dlg.setCanvas(MCDU2_display);
|
||||
var mcdu2_dlg = gui.Dialog.new("sim/gui/dialogs/mcdu2/dialog", "Aircraft/IDG-A32X/Systems/mcdu2-dlg.xml");
|
||||
mcdu2_dlg.open();
|
||||
}
|
||||
|
||||
setlistener("/MCDU[0]/page", func {
|
||||
|
|
|
@ -9,7 +9,20 @@
|
|||
<PropertyList>
|
||||
|
||||
<path>res/MCDU1.ac</path>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>mcdu1.screen</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>canvas_mcdu.showMCDU1();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>radnav</object-name>
|
||||
|
|
|
@ -9,7 +9,20 @@
|
|||
<PropertyList>
|
||||
|
||||
<path>res/MCDU2.ac</path>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>mcdu2.screen</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>canvas_mcdu.showMCDU2();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>radnav</object-name>
|
||||
|
|
1322
Systems/mcdu1-dlg.xml
Normal file
1322
Systems/mcdu1-dlg.xml
Normal file
File diff suppressed because it is too large
Load diff
1322
Systems/mcdu2-dlg.xml
Normal file
1322
Systems/mcdu2-dlg.xml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
|||
4661
|
||||
4662
|
Reference in a new issue