diff --git a/A320-main.xml b/A320-main.xml
index b0f7f245..5ef84c77 100644
--- a/A320-main.xml
+++ b/A320-main.xml
@@ -357,6 +357,24 @@
+ -
+
+
+ nasal
+
+
+
+ -
+
+
+ nasal
+
+
+
diff --git a/Models/Instruments/MCDU/MCDU.nas b/Models/Instruments/MCDU/MCDU.nas
index 3efd934f..2dde783d 100644
--- a/Models/Instruments/MCDU/MCDU.nas
+++ b/Models/Instruments/MCDU/MCDU.nas
@@ -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 {
diff --git a/Models/Instruments/MCDU/MCDU1.xml b/Models/Instruments/MCDU/MCDU1.xml
index 6f5c47f3..a90b495a 100644
--- a/Models/Instruments/MCDU/MCDU1.xml
+++ b/Models/Instruments/MCDU/MCDU1.xml
@@ -9,7 +9,20 @@
res/MCDU1.ac
-
+
+
+ pick
+ mcdu1.screen
+
+
+ false
+
+ nasal
+
+
+
+
+
pick
radnav
diff --git a/Models/Instruments/MCDU/MCDU2.xml b/Models/Instruments/MCDU/MCDU2.xml
index 645ab410..1274a954 100644
--- a/Models/Instruments/MCDU/MCDU2.xml
+++ b/Models/Instruments/MCDU/MCDU2.xml
@@ -9,7 +9,20 @@
res/MCDU2.ac
-
+
+
+ pick
+ mcdu2.screen
+
+
+ false
+
+ nasal
+
+
+
+
+
pick
radnav
diff --git a/Systems/mcdu1-dlg.xml b/Systems/mcdu1-dlg.xml
new file mode 100644
index 00000000..e3d6d50e
--- /dev/null
+++ b/Systems/mcdu1-dlg.xml
@@ -0,0 +1,1322 @@
+
+
+
+
+
+
+ mcdu1
+ table
+ 0
+ 0
+
+
+ 0
+ 0
+ hbox
+
+ left
+
+
+
+
+
+
+ 1
+ 0
+
+
+
+ 2
+ 0
+ hbox
+
+
+ vbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ vbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 3
+ 0
+ hbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+ 0
+ hbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ 0
+ hbox
+
+
+ vbox
+
+
+ table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Systems/mcdu2-dlg.xml b/Systems/mcdu2-dlg.xml
new file mode 100644
index 00000000..fbbd8786
--- /dev/null
+++ b/Systems/mcdu2-dlg.xml
@@ -0,0 +1,1322 @@
+
+
+
+
+
+
+ mcdu2
+ table
+ 0
+ 0
+
+
+ 0
+ 0
+ hbox
+
+ left
+
+
+
+
+
+
+ 1
+ 0
+
+
+
+ 2
+ 0
+ hbox
+
+
+ vbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ vbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 3
+ 0
+ hbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+ 0
+ hbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ 0
+ hbox
+
+
+ vbox
+
+
+ table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/revision.txt b/revision.txt
index 4c7368f7..36aa6d66 100644
--- a/revision.txt
+++ b/revision.txt
@@ -1 +1 @@
-4661
\ No newline at end of file
+4662
\ No newline at end of file