comparison src/menu_tree.asm @ 337:508d7fb98b34

cleanup menu, add "Auto SP" option (Not working yet), minor layout change in compass menu
author heinrichsweikamp
date Sun, 28 Jun 2015 13:58:00 +0200
parents 3d43da7acfe1
children 3f2d0c0bc101
comparison
equal deleted inserted replaced
336:1318c6cad41b 337:508d7fb98b34
294 MENU_CALL tDecoparameters, do_decoparameters_menu 294 MENU_CALL tDecoparameters, do_decoparameters_menu
295 MENU_CALL tExit, do_continue_main_menu 295 MENU_CALL tExit, do_continue_main_menu
296 MENU_END 296 MENU_END
297 297
298 do_ppo2_menu: 298 do_ppo2_menu:
299 MENU_BEGIN tppO2settings, .3 299 MENU_BEGIN tppO2settings, .4
300 MENU_DYNAMIC divesets_ppo2_max, do_toggle_ppo2_max 300 MENU_DYNAMIC divesets_ppo2_max, do_toggle_ppo2_max
301 MENU_DYNAMIC divesets_ppo2_min, do_toggle_ppo2_min 301 MENU_DYNAMIC divesets_ppo2_min, do_toggle_ppo2_min
302 MENU_OPTION tShowppO2, oShowppO2, 0
302 MENU_CALL tExit, do_return_divemode_menu 303 MENU_CALL tExit, do_return_divemode_menu
303 MENU_END 304 MENU_END
304 305
305 do_return_decoparameters_menu: 306 do_return_decoparameters_menu:
306 call menu_processor_pop ; drop exit line. 307 call menu_processor_pop ; drop exit line.
616 bcf in_color_menu 617 bcf in_color_menu
617 call menu_processor_pop 618 call menu_processor_pop
618 call menu_processor_pop 619 call menu_processor_pop
619 620
620 do_dispsets_menu: 621 do_dispsets_menu:
621 MENU_BEGIN tDispSets, .7 622 MENU_BEGIN tDispSets, .5
622 MENU_OPTION tBright, oBrightness, 0 623 MENU_OPTION tBright, oBrightness, 0
623 MENU_CALL tColorScheme, do_color_scheme 624 MENU_CALL tColorScheme, do_color_scheme
624 MENU_OPTION tFlip, oFlipScreen, 0 625 MENU_OPTION tFlip, oFlipScreen, 0
625 MENU_OPTION tMODwarning, oMODwarning, 0
626 MENU_CALL tDispSetVSI, do_dispsets_VSI_menu
627 MENU_CALL tMore, do_dispsets_menu_more 626 MENU_CALL tMore, do_dispsets_menu_more
628 MENU_CALL tExit, do_return_settings 627 MENU_CALL tExit, do_return_settings
629 MENU_END 628 MENU_END
630 629
631 do_dispsets_menu_more: 630 do_dispsets_menu_more:
632 MENU_BEGIN tDispSets, .3 631 MENU_BEGIN tDispSets, .4
633 MENU_OPTION tExtCeiling, oExtCeiling, 0 632 MENU_OPTION tMODwarning, oMODwarning, 0
634 MENU_OPTION tShowppO2, oShowppO2, 0 633 MENU_OPTION tVSItext2, oVSItextv2, 0
634 MENU_OPTION tVSIgraph, oVSIgraph, 0
635 MENU_CALL tExit, do_dispsets_menu_3stack 635 MENU_CALL tExit, do_dispsets_menu_3stack
636 MENU_END
637
638 do_dispsets_VSI_menu:
639 MENU_BEGIN tDispSetVSItitle, .4
640 MENU_DYNAMIC TFT_VSImenu_dynamictitle, 0
641 MENU_OPTION tVSItext2, oVSItextv2, 0
642 MENU_OPTION tVSIgraph, oVSIgraph, 0
643 MENU_CALL tExit, do_dispsets_menu_3stack
644 MENU_END 636 MENU_END
645 637
646 extern oColorSetDive 638 extern oColorSetDive
647 do_color_scheme: 639 do_color_scheme:
648 bsf in_color_menu 640 bsf in_color_menu