| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<PropertyList> |
| 4 |
<name>cam</name> |
| 5 |
<layout>vbox</layout> |
| 6 |
<x>0</x> |
| 7 |
<y>24</y> |
| 8 |
<pref-width>1024</pref-width> |
| 9 |
<pref-height>24</pref-height> |
| 10 |
<modal>false</modal> |
| 11 |
|
| 12 |
<color> |
| 13 |
<red>0.5</red> |
| 14 |
<green>0.5</green> |
| 15 |
<blue>0.5</blue> |
| 16 |
<alpha>0.5</alpha> |
| 17 |
</color> |
| 18 |
|
| 19 |
<group> |
| 20 |
<layout>hbox</layout> |
| 21 |
<halign>left</halign> |
| 22 |
<default-padding>2</default-padding> |
| 23 |
|
| 24 |
<checkbox> |
| 25 |
<label>AI</label> |
| 26 |
<property>/sim/cam/target-ai</property> |
| 27 |
<binding> |
| 28 |
<command>dialog-apply</command> |
| 29 |
</binding> |
| 30 |
</checkbox> |
| 31 |
|
| 32 |
<checkbox> |
| 33 |
<label>MP</label> |
| 34 |
<property>/sim/cam/target-mp</property> |
| 35 |
<binding> |
| 36 |
<command>dialog-apply</command> |
| 37 |
</binding> |
| 38 |
</checkbox> |
| 39 |
|
| 40 |
<button> |
| 41 |
<color> |
| 42 |
<red>0.5</red> |
| 43 |
<green>0.5</green> |
| 44 |
<blue>0.5</blue> |
| 45 |
</color> |
| 46 |
<pref-width>20</pref-width> |
| 47 |
<pref-height>20</pref-height> |
| 48 |
<legend>^</legend> |
| 49 |
<binding> |
| 50 |
<command>nasal</command> |
| 51 |
<script>cam.callsign_dialog.toggle()</script> |
| 52 |
</binding> |
| 53 |
</button> |
| 54 |
|
| 55 |
<text> |
| 56 |
<label>000000</label> |
| 57 |
<format>No# %d</format> |
| 58 |
<property>/sim/cam/target-number</property> |
| 59 |
<live>true</live> |
| 60 |
</text> |
| 61 |
|
| 62 |
<text> |
| 63 |
<label>000000000000000000</label> |
| 64 |
<format>Name: %s</format> |
| 65 |
<property>/sim/cam/target-name</property> |
| 66 |
<live>true</live> |
| 67 |
</text> |
| 68 |
|
| 69 |
<button> |
| 70 |
<color> |
| 71 |
<red>0.5</red> |
| 72 |
<green>0.5</green> |
| 73 |
<blue>0.5</blue> |
| 74 |
</color> |
| 75 |
<pref-width>35</pref-width> |
| 76 |
<pref-height>20</pref-height> |
| 77 |
<legend><<</legend> |
| 78 |
<binding> |
| 79 |
<command>nasal</command> |
| 80 |
<script> |
| 81 |
cam.update_aircraft_list(); |
| 82 |
cam.select_aircraft(getprop("/sim/cam/target-number") - 1); |
| 83 |
</script> |
| 84 |
</binding> |
| 85 |
</button> |
| 86 |
|
| 87 |
<button> |
| 88 |
<halign>left</halign> |
| 89 |
<color> |
| 90 |
<red>0.5</red> |
| 91 |
<green>0.5</green> |
| 92 |
<blue>0.5</blue> |
| 93 |
</color> |
| 94 |
<pref-width>35</pref-width> |
| 95 |
<pref-height>20</pref-height> |
| 96 |
<legend>>></legend> |
| 97 |
<binding> |
| 98 |
<command>nasal</command> |
| 99 |
<script> |
| 100 |
cam.update_aircraft_list(); |
| 101 |
cam.select_aircraft(getprop("/sim/cam/target-number") + 1); |
| 102 |
</script> |
| 103 |
</binding> |
| 104 |
</button> |
| 105 |
|
| 106 |
<empty><pref-width>4</pref-width></empty> |
| 107 |
|
| 108 |
<button> |
| 109 |
<color> |
| 110 |
<red>0.5</red> |
| 111 |
<green>0.5</green> |
| 112 |
<blue>0.5</blue> |
| 113 |
</color> |
| 114 |
<pref-width>45</pref-width> |
| 115 |
<pref-height>20</pref-height> |
| 116 |
<legend>Goto</legend> |
| 117 |
<binding> |
| 118 |
<command>nasal</command> |
| 119 |
<script>cam.goto_target()</script> |
| 120 |
</binding> |
| 121 |
</button> |
| 122 |
|
| 123 |
<empty><pref-width>4</pref-width></empty> |
| 124 |
|
| 125 |
<checkbox> |
| 126 |
<width>20</width> |
| 127 |
<height>24</height> |
| 128 |
<label>CHASE</label> |
| 129 |
<live>true</live> |
| 130 |
<property>/sim/cam/chase</property> |
| 131 |
<binding> |
| 132 |
<command>dialog-apply</command> |
| 133 |
</binding> |
| 134 |
</checkbox> |
| 135 |
|
| 136 |
<checkbox> |
| 137 |
<width>20</width> |
| 138 |
<height>24</height> |
| 139 |
<label>FOCUS</label> |
| 140 |
<live>true</live> |
| 141 |
<property>/sim/cam/focus</property> |
| 142 |
<binding> |
| 143 |
<command>dialog-apply</command> |
| 144 |
</binding> |
| 145 |
</checkbox> |
| 146 |
|
| 147 |
<checkbox> |
| 148 |
<width>20</width> |
| 149 |
<height>24</height> |
| 150 |
<label>ALT</label> |
| 151 |
<live>true</live> |
| 152 |
<property>/sim/cam/alt</property> |
| 153 |
<binding> |
| 154 |
<command>dialog-apply</command> |
| 155 |
</binding> |
| 156 |
</checkbox> |
| 157 |
|
| 158 |
<checkbox> |
| 159 |
<width>20</width> |
| 160 |
<height>24</height> |
| 161 |
<label>SPEED</label> |
| 162 |
<live>true</live> |
| 163 |
<property>/sim/cam/speed</property> |
| 164 |
<binding> |
| 165 |
<command>dialog-apply</command> |
| 166 |
</binding> |
| 167 |
</checkbox> |
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
</group> |
| 180 |
|
| 181 |
<nasal> |
| 182 |
<open>cmdarg().getNode("pref-width").setValue(getprop("/sim/startup/xsize"))</open> |
| 183 |
</nasal> |
| 184 |
</PropertyList> |
| 185 |
|