Mercurial > public > hwos_code
diff src/menu_tree.asm @ 331:8b9b03b70b14
Merged new_screen_layout into default
author | Janos Kovacs <kovjanos@gmail.com> |
---|---|
date | Fri, 26 Jun 2015 15:03:47 +0200 |
parents | d21b172d5a7a |
children | 14b466f66a7f |
line wrap: on
line diff
--- a/src/menu_tree.asm Sun Jun 21 12:12:12 2015 +0200 +++ b/src/menu_tree.asm Fri Jun 26 15:03:47 2015 +0200 @@ -343,6 +343,10 @@ MENU_CALL tExit, do_continue_main_menu MENU_END + +do_return_settings_more: + call menu_processor_pop ; Drop exit entry + call menu_processor_pop ; Pop return line. do_settings_menu_more: btfsc rechargeable ; piezo buttons available @@ -407,7 +411,7 @@ MENU_BEGIN tSystSets, .2 MENU_CALL tCompassMenu, compass_calibration_loop ; MENU_OPTION tCompassGain, oCompassGain, 0 - MENU_CALL tExit, do_return_settings + MENU_CALL tExit, do_return_settings_more MENU_END ;============================================================================= @@ -566,7 +570,7 @@ MENU_CALL tLogOffsetp10, do_logoffset_plus10 MENU_CALL tLogOffsetm1, do_logoffset_minus1 MENU_CALL tLogOffsetm10, do_logoffset_minus10 - MENU_CALL tExit, do_dispsets_menu_3stack + MENU_CALL tExit, do_return_settings_more MENU_END @@ -619,10 +623,17 @@ MENU_CALL tColorScheme, do_color_scheme MENU_OPTION tFlip, oFlipScreen, 0 MENU_OPTION tMODwarning, oMODwarning, 0 - MENU_OPTION tVSItextv2, oVSItextv2, 0 + MENU_CALL tDispSetVSI, do_dispsets_VSI_menu MENU_CALL tExit, do_return_settings MENU_END +do_dispsets_VSI_menu: + MENU_BEGIN tDispSetVSItitle, .4 + MENU_DYNAMIC TFT_VSImenu_dynamictitle, 0 + MENU_OPTION tVSItext2, oVSItextv2, 0 + MENU_OPTION tVSIgraph, oVSIgraph, 0 + MENU_CALL tExit, do_dispsets_menu_3stack + MENU_END extern oColorSetDive do_color_scheme: