Sim: GUI updates, now 2018.3.1 compliant

This commit is contained in:
Joshua Davidson 2018-12-10 15:31:42 -05:00
parent aecba237c5
commit d2fb461792
8 changed files with 34 additions and 37 deletions

View file

@ -408,7 +408,7 @@
<flight-recorder include="Systems/flight-recorder.xml"/>
<gui n="0" include="Systems/it-gui.xml"/>
<gui n="0" include="gui/it-gui.xml"/>
<current-view>
<z-offset-default type="float">80.0</z-offset-default>

View file

@ -1741,13 +1741,11 @@ var MCDU_update_fast = maketimer(0.125, func {
});
var showMCDU1 = func {
var mcdu1_dlg = gui.Dialog.new("sim/gui/dialogs/mcdu1/dialog", "Aircraft/IDG-A32X/Systems/mcdu1-dlg.xml");
mcdu1_dlg.open();
gui.showDialog("mcdu1");
}
var showMCDU2 = func {
var mcdu2_dlg = gui.Dialog.new("sim/gui/dialogs/mcdu2/dialog", "Aircraft/IDG-A32X/Systems/mcdu2-dlg.xml");
mcdu2_dlg.open();
gui.showDialog("mcdu2");
}
setlistener("/MCDU[0]/page", func {

View file

@ -186,7 +186,6 @@ var systemsInit = func {
systemsLoop.start();
icing.icingInit();
lightsLoop.start();
var autopilot = gui.Dialog.new("sim/gui/dialogs/autopilot/dialog", "Aircraft/IDG-A32X/Systems/autopilot-dlg.xml");
setprop("/it-autoflight/input/fd1", 1);
setprop("/it-autoflight/input/fd2", 1);
libraries.ECAM.init();

View file

@ -13,79 +13,79 @@
<style n="0">
<colors n="0">
<background n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.05</blue>
<green>0.05</green>
<red>0.05</red>
</background>
<button n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</button>
<checkbox-foreground n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.05</blue>
<green>0.05</green>
<red>0.05</red>
</checkbox-foreground>
<checkbox-highlight n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</checkbox-highlight>
<checkbox-misc n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</checkbox-misc>
<combo-editfield n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</combo-editfield>
<dial-misc n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</dial-misc>
<hrule n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>1.0</blue>
<green>0.0</green>
<red>1.0</red>
</hrule>
<input n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</input>
<input-legend n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</input-legend>
<input-misc n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</input-misc>
<radio-foreground n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.0</blue>
<green>0.0</green>
<red>0.0</red>
</radio-foreground>
<select-editfield n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
@ -97,13 +97,13 @@
<red>0.4</red>
</slider>
<textbox-editable n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</textbox-editable>
<vrule n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>1.0</blue>
<green>0.0</green>
<red>1.0</red>
@ -114,79 +114,79 @@
<style n="1">
<colors n="0">
<background n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.05</blue>
<green>0.05</green>
<red>0.05</red>
</background>
<button n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</button>
<checkbox-foreground n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.05</blue>
<green>0.05</green>
<red>0.05</red>
</checkbox-foreground>
<checkbox-highlight n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</checkbox-highlight>
<checkbox-misc n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</checkbox-misc>
<combo-editfield n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</combo-editfield>
<dial-misc n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</dial-misc>
<hrule n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>1.0</blue>
<green>0.0</green>
<red>1.0</red>
</hrule>
<input n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</input>
<input-legend n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</input-legend>
<input-misc n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.9</blue>
<green>0.9</green>
<red>0.9</red>
</input-misc>
<radio-foreground n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.0</blue>
<green>0.0</green>
<red>0.0</red>
</radio-foreground>
<select-editfield n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
@ -198,13 +198,13 @@
<red>0.4</red>
</slider>
<textbox-editable n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>0.2</blue>
<green>0.2</green>
<red>0.2</red>
</textbox-editable>
<vrule n="0">
<alpha>0.9</alpha>
<alpha>0.95</alpha>
<blue>1.0</blue>
<green>0.0</green>
<red>1.0</red>

View file

@ -1 +1 @@
4708
4709