Mercurial > public > hwos_code
comparison src/menu_tree.asm @ 50:ec4d8503ec45
NEW: user-selectable color schemes
author | heinrichsweikamp |
---|---|
date | Fri, 27 Sep 2013 23:45:57 +0200 |
parents | e4e91fe8b09d |
children | e7c7c7eeea58 5c4d4a42e7a0 |
comparison
equal
deleted
inserted
replaced
49:fe01bbaf6014 | 50:ec4d8503ec45 |
---|---|
348 | 348 |
349 do_date_menu: | 349 do_date_menu: |
350 bsf settime_setdate | 350 bsf settime_setdate |
351 MENU_BEGIN tSetDate, .4 | 351 MENU_BEGIN tSetDate, .4 |
352 MENU_OPTION tSetDay, oSetDay, 0 | 352 MENU_OPTION tSetDay, oSetDay, 0 |
353 MENU_OPTION tSetMonth, oSetMonth, 0 | 353 MENU_OPTION tSetMonth, oSetMonth, 0 |
354 MENU_OPTION tSetYear, oSetYear, 0 | 354 MENU_OPTION tSetYear, oSetYear, 0 |
355 MENU_CALL tExit, do_continue_menu_3stack | 355 MENU_CALL tExit, do_continue_menu_3stack |
356 MENU_END | 356 MENU_END |
357 | 357 |
358 | 358 |
447 movlw d'0' | 447 movlw d'0' |
448 addwfc hi | 448 addwfc hi |
449 goto do_logoffset_common_write ; Store and return | 449 goto do_logoffset_common_write ; Store and return |
450 | 450 |
451 do_dispsets_menu_3stack: | 451 do_dispsets_menu_3stack: |
452 bcf in_color_menu | |
452 call menu_processor_pop | 453 call menu_processor_pop |
453 call menu_processor_pop | 454 call menu_processor_pop |
454 | 455 |
455 do_dispsets_menu: | 456 do_dispsets_menu: |
456 MENU_BEGIN tDispSets, .6 | 457 MENU_BEGIN tDispSets, .7 |
457 MENU_OPTION tBright, oBrightness, 0 | 458 MENU_OPTION tBright, oBrightness, 0 |
458 MENU_OPTION tUnits, oUnits, 0 | 459 MENU_OPTION tUnits, oUnits, 0 |
459 MENU_CALL tLogOffset, do_log_offset_menu | 460 MENU_CALL tLogOffset, do_log_offset_menu |
460 MENU_OPTION tSamplingrate,oSamplingRate,0 | 461 MENU_OPTION tSamplingrate,oSamplingRate,0 |
461 MENU_OPTION tDvSalinity,oDiveSalinity, 0 | 462 MENU_OPTION tDvSalinity,oDiveSalinity, 0 |
463 MENU_CALL tColorScheme, do_color_scheme | |
462 MENU_CALL tExit, do_return_settings | 464 MENU_CALL tExit, do_return_settings |
463 MENU_END | 465 MENU_END |
466 | |
467 | |
468 extern oColorSetDive | |
469 do_color_scheme: | |
470 bsf in_color_menu | |
471 MENU_BEGIN tColorScheme, .2 | |
472 MENU_OPTION tColorSetDive,oColorSetDive, 0 | |
473 MENU_CALL tExit, do_dispsets_menu_3stack | |
474 MENU_END | |
475 | |
464 | 476 |
465 ;============================================================================= | 477 ;============================================================================= |
466 | 478 |
467 global new_battery_menu | 479 global new_battery_menu |
468 new_battery_menu: | 480 new_battery_menu: |