|
| 1 | +// Flight Config |
| 2 | +MAS_PAGE |
| 3 | +{ |
| 4 | + name = MAS_TS1_FlightConfig |
| 5 | + |
| 6 | + |
| 7 | + hitbox |
| 8 | + { |
| 9 | + name = rewind button |
| 10 | + position = 8, 976 |
| 11 | + size = 48, 48 |
| 12 | + onClick = fc.SetPersistent("MFD_TS_%PROPID%", "MAS_TS1_Standby") |
| 13 | + } |
| 14 | + hitbox |
| 15 | + { |
| 16 | + name = back button |
| 17 | + position = 72, 976 |
| 18 | + size = 48, 48 |
| 19 | + onClick = fc.SetPersistent("MFD_TS_%PROPID%", "MAS_TS1_Config") |
| 20 | + } |
| 21 | + hitbox |
| 22 | + { |
| 23 | + name = mode button |
| 24 | + position = 392, 976 |
| 25 | + size = 112, 48 |
| 26 | + onClick = fc.SetPersistent("MFD_TS_%PROPID%", "MAS_TS1_FlightDisplay") |
| 27 | + } |
| 28 | + |
| 29 | + //--- AHI Select |
| 30 | + TEXT |
| 31 | + { |
| 32 | + name = FDAI/AHI select caption |
| 33 | + text = Attitude Indicator Mode |
| 34 | + position = 2, 5 |
| 35 | + } |
| 36 | + |
| 37 | + hitbox |
| 38 | + { |
| 39 | + name = FDAI/AHI hit 1 |
| 40 | + position = 8, 216 |
| 41 | + size = 48, 48 |
| 42 | + onClick = fc.SetPersistent("MAS_TS1-Flight-AHI-Select", 0) |
| 43 | + } |
| 44 | + IMAGE |
| 45 | + { |
| 46 | + name = FDAI/AHI checkbox 1 |
| 47 | + position = 8, 216 |
| 48 | + texture = MOARdV/MFD/framefill2ch48x48 |
| 49 | + passiveColor = COLOR_MFD2_TEXT_GREEN |
| 50 | + } |
| 51 | + TEXT |
| 52 | + { |
| 53 | + name = FDAI/AHI check 1 |
| 54 | + text = X |
| 55 | + position = 1.5, 7 |
| 56 | + textColor = COLOR_MFD2_TEXT_HIGHLIGHT |
| 57 | + variable = fc.GetPersistentAsNumber("MAS_TS1-Flight-AHI-Select") == 0 |
| 58 | + } |
| 59 | + TEXT |
| 60 | + { |
| 61 | + name = FDAI/AHI caption 1 |
| 62 | + text = (AHI) Artificial Horizon Indicator |
| 63 | + position = 4, 7 |
| 64 | + } |
| 65 | + hitbox |
| 66 | + { |
| 67 | + name = FDAI/AHI hit 2 |
| 68 | + position = 8, 280 |
| 69 | + size = 48, 48 |
| 70 | + onClick = fc.SetPersistent("MAS_TS1-Flight-AHI-Select", 1) |
| 71 | + } |
| 72 | + IMAGE |
| 73 | + { |
| 74 | + name = FDAI/AHI checkbox 2 |
| 75 | + position = 8, 280 |
| 76 | + texture = MOARdV/MFD/framefill2ch48x48 |
| 77 | + passiveColor = COLOR_MFD2_TEXT_GREEN |
| 78 | + } |
| 79 | + TEXT |
| 80 | + { |
| 81 | + name = FDAI/AHI check 2 |
| 82 | + text = X |
| 83 | + position = 1.5, 9 |
| 84 | + textColor = COLOR_MFD2_TEXT_HIGHLIGHT |
| 85 | + variable = fc.GetPersistentAsNumber("MAS_TS1-Flight-AHI-Select") == 1 |
| 86 | + } |
| 87 | + TEXT |
| 88 | + { |
| 89 | + name = FDAI/AHI caption 2 |
| 90 | + text = (FDAI) Navball |
| 91 | + position = 4, 9 |
| 92 | + } |
| 93 | + |
| 94 | + //--- Altimeter select |
| 95 | + TEXT |
| 96 | + { |
| 97 | + name = Altimeter select caption |
| 98 | + text = Altimeter Mode |
| 99 | + position = 2, 12 |
| 100 | + } |
| 101 | + |
| 102 | + hitbox |
| 103 | + { |
| 104 | + name = Altimeter hit 1 |
| 105 | + position = 8, 440 |
| 106 | + size = 48, 48 |
| 107 | + onClick = fc.SetPersistent("MAS_TS1-Flight-Altitude-Select", 0) |
| 108 | + } |
| 109 | + IMAGE |
| 110 | + { |
| 111 | + name = Altimeter checkbox 1 |
| 112 | + position = 8, 440 |
| 113 | + texture = MOARdV/MFD/framefill2ch48x48 |
| 114 | + passiveColor = COLOR_MFD2_TEXT_GREEN |
| 115 | + } |
| 116 | + TEXT |
| 117 | + { |
| 118 | + name = Altimeter check 1 |
| 119 | + text = X |
| 120 | + position = 1.5, 14 |
| 121 | + textColor = COLOR_MFD2_TEXT_HIGHLIGHT |
| 122 | + variable = fc.GetPersistentAsNumber("MAS_TS1-Flight-Altitude-Select") == 0 |
| 123 | + } |
| 124 | + TEXT |
| 125 | + { |
| 126 | + name = Altimeter caption 1 |
| 127 | + text = Digital Gauges |
| 128 | + position = 4, 14 |
| 129 | + } |
| 130 | + hitbox |
| 131 | + { |
| 132 | + name = Altimeter hit 2 |
| 133 | + position = 8, 504 |
| 134 | + size = 48, 48 |
| 135 | + onClick = fc.SetPersistent("MAS_TS1-Flight-Altitude-Select", 1) |
| 136 | + } |
| 137 | + IMAGE |
| 138 | + { |
| 139 | + name = Altimeter checkbox 2 |
| 140 | + position = 8, 504 |
| 141 | + texture = MOARdV/MFD/framefill2ch48x48 |
| 142 | + passiveColor = COLOR_MFD2_TEXT_GREEN |
| 143 | + } |
| 144 | + TEXT |
| 145 | + { |
| 146 | + name = Altimeter check 2 |
| 147 | + text = X |
| 148 | + position = 1.5, 16 |
| 149 | + textColor = COLOR_MFD2_TEXT_HIGHLIGHT |
| 150 | + variable = fc.GetPersistentAsNumber("MAS_TS1-Flight-Altitude-Select") == 1 |
| 151 | + } |
| 152 | + TEXT |
| 153 | + { |
| 154 | + name = Altimeter caption 2 |
| 155 | + text = Ladder |
| 156 | + position = 4, 16 |
| 157 | + } |
| 158 | + |
| 159 | + SUB_PAGE |
| 160 | + { |
| 161 | + name = TouchScreen Nav Footer |
| 162 | + } |
| 163 | + TEXT |
| 164 | + { |
| 165 | + name = page ID |
| 166 | + position = 8.5, 30.5 |
| 167 | + text = FLIGHT CONFIG |
| 168 | + } |
| 169 | + TEXT |
| 170 | + { |
| 171 | + name = page ID |
| 172 | + position = 25, 30.5 |
| 173 | + fontSize = 14,32 |
| 174 | + text = DISPLAY |
| 175 | + textColor = COLOR_MFD2_TEXT_HIGHLIGHT |
| 176 | + } |
| 177 | + |
| 178 | + SUB_PAGE |
| 179 | + { |
| 180 | + name = TouchScreen Footer |
| 181 | + } |
| 182 | +} |
0 commit comments