... | ... |
@@ -219,6 +219,17 @@ var displayClass = { |
219 | 219 |
}, |
220 | 220 |
#}}} |
221 | 221 |
|
222 |
+ colors : { |
|
223 |
+# set of predefined colors {{{ |
|
224 |
+ green : [0, 1, 0], |
|
225 |
+ white : [1, 1, 1], |
|
226 |
+ black : [0, 0, 0], |
|
227 |
+ lightblue : [0, 1, 1], |
|
228 |
+ darkblue : [0, 0, 1], |
|
229 |
+ red : [1, 0, 0], |
|
230 |
+ }, |
|
231 |
+#}}} |
|
232 |
+ |
|
222 | 233 |
loadGroup : func (h) { |
223 | 234 |
#{{{ |
224 | 235 |
if (typeof(h) != 'hash') { |
... | ... |
@@ -308,12 +319,12 @@ var displayClass = { |
308 | 319 |
'nav2-id' : { |
309 | 320 |
default: '' |
310 | 321 |
}, |
311 |
- 'TAS-text' : { |
|
312 |
- alignment : 'right-bottom', |
|
313 |
- }, |
|
314 |
- 'GSPD-text' : { |
|
315 |
- alignment : 'right-bottom', |
|
316 |
- }, |
|
322 |
+# 'TAS-text' : { |
|
323 |
+# alignment : 'right-bottom', |
|
324 |
+# }, |
|
325 |
+# 'GSPD-text' : { |
|
326 |
+# alignment : 'right-bottom', |
|
327 |
+# }, |
|
317 | 328 |
}, |
318 | 329 |
#}}} |
319 | 330 |
|
... | ... |
@@ -911,7 +922,7 @@ var displayClass = { |
911 | 922 |
#}}} |
912 | 923 |
|
913 | 924 |
updateBRG : func { |
914 |
-# displays and update |
|
925 |
+# displays and update BRG1/2 {{{ |
|
915 | 926 |
foreach (var brg; [1, 2]) { |
916 | 927 |
var source = 'brg' ~ brg ~ '-source'; |
917 | 928 |
|
... | ... |
@@ -972,6 +983,7 @@ var displayClass = { |
972 | 983 |
settimer(func me.updateBRG(), 1); |
973 | 984 |
}, |
974 | 985 |
}; |
986 |
+#}}} |
|
975 | 987 |
|
976 | 988 |
var keyMap = { |
977 | 989 |
# softkeys map for PFD and MFD {{{ |