Plate: Add plate Dialog: updates

This commit is contained in:
Sidi Liang 2020-03-04 22:22:24 +08:00
parent dc5e6b5f49
commit a4cdda7609
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
4 changed files with 35 additions and 188 deletions

View File

@ -80,5 +80,16 @@
</condition>
<texture>texture/JAD00066.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>face</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/string[0]</property>
<value>Airport0</value>
</equals>
</condition>
<texture>texture/Airport.png</texture>
</animation>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -29,7 +29,7 @@
</button>
</group>
<hrule/>
<text><label>Configuration</label></text>
<group>
<layout>vbox</layout>
@ -50,10 +50,10 @@
</binding>
</combo>
</group>
<group>
<layout>hbox</layout>
<group>
<layout>vbox</layout>
<text><label>Speedometer type</label></text>
@ -114,6 +114,7 @@
<name>Plate Selection</name>
<property>/systems/plate</property>
<value>NONE</value>
<value>Airport0</value>
<value>JLH0762</value>
<value>JAD00762</value>
<value>YBD00404</value>
@ -205,6 +206,6 @@
</checkbox>
</group>
<hrule/>
</PropertyList>

View File

@ -263,192 +263,27 @@
</group>
<hrule/>
<text><label>Configuration</label></text>
<group>
<layout>hbox</layout>
<!--<button>
<halign>left</halign>
<legend>Type A</legend>
<pref-width>120</pref-width>
<pref-height>28</pref-height>
<enable>
<property>systems/speedometer/type</property>
<value>1</value>
</enable>
<binding>
<command>property-assign</command>
<property>systems/speedometer/type</property>
<value>0</value>
</binding>
</button>
<button>
<halign>left</halign>
<legend>Type O</legend>
<pref-width>120</pref-width>
<pref-height>28</pref-height>
<enable>
<button>
<halign>middle</halign>
<legend>Vehicle Configuration</legend>
<pref-width>120</pref-width>
<pref-height>28</pref-height>
<enable>
<and>
<not>
<property>systems/speedometer/type</property>
<value>1</value>
<property>/sim/freeze/replay-state</property>
</not>
</enable>
<binding>
<command>property-assign</command>
<property>systems/speedometer/type</property>
<value>1</value>
</binding>
</button>-->
<group>
<layout>vbox</layout>
<text><label>Speedometer type</label></text>
<combo>
<name>speedType</name>
<row>1</row>
<col>6</col>
<pref-width>120</pref-width>
<halign>left</halign>
<name>Speedometer Type</name>
<property>/systems/speedometer/type</property>
<value>Type_A</value>
<value>Type_M</value>
<value>Type_B</value>
<value>Type_BT</value>
<value>Concept</value>
<value>Original</value>
<binding>
<command>dialog-apply</command>
<object-name>speedType</object-name>
</binding>
</combo>
</group>
<group>
<layout>vbox</layout>
<text><label>Battery gauge type</label></text>
<combo>
<name>batteryType</name>
<row>1</row>
<col>6</col>
<pref-width>120</pref-width>
<halign>left</halign>
<name>Battery gauge Type</name>
<property>/systems/battery-gauge/type</property>
<value>Type_A</value>
<value>Type_M</value>
<value>Type_BT</value>
<value>Concept</value>
<value>Original</value>
<binding>
<command>dialog-apply</command>
<object-name>batteryType</object-name>
</binding>
</combo>
</group>
</group>
<group>
<layout>vbox</layout>
<text><label>Plate</label></text>
<combo>
<name>plateSelection</name>
<row>1</row>
<col>6</col>
<pref-width>120</pref-width>
<halign>left</halign>
<name>Plate Selection</name>
<property>/systems/plate</property>
<value>NONE</value>
<value>JLH0762</value>
<value>JAD00762</value>
<value>YBD00404</value>
<value>YAD07749</value>
<value>SAD00818</value>
<value>JAD00066</value>
<binding>
<command>dialog-apply</command>
<object-name>plateSelection</object-name>
</binding>
</combo>
</group>
<group>
<layout>vbox</layout>
<button>
<halign>left</halign>
<legend>Select Livery</legend>
<pref-width>120</pref-width>
<pref-height>28</pref-height>
<binding>
<command>nasal</command>
<script>followme.liveryFuse.dialog.toggle()</script>
</binding>
</button>
<button>
<halign>left</halign>
<legend>Select Message</legend>
<pref-width>120</pref-width>
<pref-height>28</pref-height>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</button>
</group>
<group>
<layout>vbox</layout>
<checkbox>
<halign>left</halign>
<label> Enable Co-driver Model</label>
<property>/systems/codriver-enable</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<group>
<layout>vbox</layout>
<checkbox>
<halign>left</halign>
<label> Enable Smart Screen</label>
<property>/systems/screen-enable</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label> Enable Switches</label>
<property>sim/multiplay/generic/int[15]</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<!-- disable CDU for now
<checkbox>
<halign>left</halign>
<label> Enable CDU</label>
<property>sim/multiplay/generic/int[14]</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
-->
<checkbox>
<halign>left</halign>
<label> Enable Mug</label>
<property>interior/enable_mug</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<less-than>
<property>velocities/groundspeed-kt</property>
<value>1.0</value>
</less-than>
</and>
</enable>
<binding>
<command>dialog-show</command>
<dialog-name>config-dialog</dialog-name>>
</binding>
</button>
<hrule/>
<group>
<layout>hbox</layout>