Showing 1 changed files with 9 additions and 11 deletions
+9 -11
Nasal/softkeys.nas
... ...
@@ -307,19 +307,17 @@ var softkeysClass = {
307 307
                             {type: 'separator'},
308 308
                             {text: 'TIMER', type: 'normal'},
309 309
                             {text: '00:00:00', type: 'selected|time', },
310
-                            {text: '< UP >', type: 'editable', choices: ['< UP >', '<DOWN>'], callback: func},
310
+                            {text: '  UP >', type: 'editable', choices: ['  UP >', '<DOWN '], callback: func},
311 311
                             {text: 'START?', type: 'editable|end-of-line|choices', choices: ['START?', 'RESET?', 'STOP?'], callback: func},
312 312
                             {type: 'separator'},
313
-                            {text: 'Vx      20KT', type: 'normal', scrollgroup:0},
314
-                            {text: '<  ON >', type: 'editable|end-of-line', choices: ['<  ON >', '< OFF >'], scrollgroup:0, callback: func},
315
-                            {text: 'Vy      50KT', type: 'normal', scrollgroup:1},
316
-                            {text: '<  ON >', type: 'editable|end-of-line', choices: ['<  ON >', '< OFF >'], scrollgroup:1, callback: func},
317
-                            {text: 'Vr      70KT', type: 'normal', scrollgroup:2},
318
-                            {text: '<  ON >', type: 'editable|end-of-line', choices: ['<  ON >', '< OFF >'], scrollgroup:2, callback: func},
319
-                            {text: 'Vglide 100KT', type: 'normal', scrollgroup:3},
320
-                            {text: '<  ON >', type: 'editable|end-of-line', choices: ['<  ON >', '< OFF >'], scrollgroup:3, callback: func},
321
-                            {text: 'Vfoo bar baz', type: 'normal', scrollgroup:4},
322
-                            {text: '<  ON >', type: 'editable|end-of-line', choices: ['<  ON >', '< OFF >'], scrollgroup:4, callback: func},
313
+                            {text: sprintf('Vx     % 3iKT', alerts.getNode('Vx').getValue()), type: 'normal', scrollgroup:0},
314
+                            {text: '   ON >', type: 'editable|end-of-line', choices: ['   ON >', '< OFF  '], scrollgroup:0, callback: func},
315
+                            {text: sprintf('Vy     % 3iKT', alerts.getNode('Vy').getValue()), type: 'normal', scrollgroup:1},
316
+                            {text: '   ON >', type: 'editable|end-of-line', choices: ['   ON >', '< OFF  '], scrollgroup:1, callback: func},
317
+                            {text: sprintf('Vr     % 3iKT', alerts.getNode('Vr').getValue()), type: 'normal', scrollgroup:2},
318
+                            {text: '   ON >', type: 'editable|end-of-line', choices: ['   ON >', '< OFF  '], scrollgroup:2, callback: func},
319
+                            {text: sprintf('Vglide % 3iKT', alerts.getNode('Vglide').getValue()), type: 'normal', scrollgroup:3},
320
+                            {text: '   ON >', type: 'editable|end-of-line', choices: ['   ON >', '< OFF  '], scrollgroup:3, callback: func},
323 321
                             {type: 'separator'},
324 322
                             {text: 'MINIMUMS', type: 'normal'},
325 323
                             {text: '  BARO >', type: 'editable', choices: ['  BARO >','< TST1 >','< TST2  '], callback: func},