| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <PropertyList> |
| 4 | <name>lso-view</name> |
| 5 | <x>5</x> |
| 6 | <y>3</y> |
| 7 | <layout>hbox</layout> |
| 8 | <default-padding>0</default-padding> |
| 9 | |
| 10 | <color> |
| 11 | <enabled>false</enabled> |
| 12 | <red>0</red> |
| 13 | <green>0</green> |
| 14 | <blue>0</blue> |
| 15 | <alpha>0</alpha> |
| 16 | </color> |
| 17 | |
| 18 | <button> |
| 19 | <legend><</legend> |
| 20 | <pref-width>20</pref-width> |
| 21 | <pref-height>20</pref-height> |
| 22 | <color> |
| 23 | <red>0.5</red> |
| 24 | <green>0.5</green> |
| 25 | <blue>0.5</blue> |
| 26 | <alpha>0.3</alpha> |
| 27 | </color> |
| 28 | <binding> |
| 29 | <command>nasal</command> |
| 30 | <script>lsoview.lso_view_handler.next(-1)</script> |
| 31 | </binding> |
| 32 | </button> |
| 33 | |
| 34 | <button> |
| 35 | <legend>></legend> |
| 36 | <pref-width>20</pref-width> |
| 37 | <pref-height>20</pref-height> |
| 38 | <color> |
| 39 | <red>0.5</red> |
| 40 | <green>0.5</green> |
| 41 | <blue>0.5</blue> |
| 42 | <alpha>0.3</alpha> |
| 43 | </color> |
| 44 | <binding> |
| 45 | <command>nasal</command> |
| 46 | <script>lsoview.lso_view_handler.next(1)</script> |
| 47 | </binding> |
| 48 | </button> |
| 49 | |
| 50 | <whatever> |
| 51 | <pref-width>6</pref-width> |
| 52 | </whatever> |
| 53 | |
| 54 | <text> |
| 55 | <pref-width>0</pref-width> |
| 56 | <live>1</live> |
| 57 | <property>/sim/current-view/landing-signal-officer-view</property> |
| 58 | <color> |
| 59 | <red>1</red> |
| 60 | <green>1</green> |
| 61 | <blue>1</blue> |
| 62 | <alpha>1</alpha> |
| 63 | </color> |
| 64 | <font> |
| 65 | <property>sim/gui/selected-style/fonts/gui-large</property> |
| 66 | </font> |
| 67 | </text> |
| 68 | |
| 69 | <button> |
| 70 | <legend/> |
| 71 | <pref-width>200</pref-width> |
| 72 | <border>0</border> |
| 73 | <color> |
| 74 | <red>1</red> |
| 75 | <green>1</green> |
| 76 | <blue>1</blue> |
| 77 | <alpha>0</alpha> |
| 78 | </color> |
| 79 | <binding> |
| 80 | <command>nasal</command> |
| 81 | <script> |
| 82 | if (size(lsoview.lso_view_handler.list) <= 1) |
| 83 | return; |
| 84 | var isopen = !!getprop("sim/gui/dialogs/model-view-select/open"); |
| 85 | var toggle = isopen ? "dialog-close" : "dialog-show"; |
| 86 | fgcommand(toggle, props.Node.new({ "dialog-name": "lso-view-select" })); |
| 87 | </script> |
| 88 | </binding> |
| 89 | </button> |
| 90 | </PropertyList> |