comparison src/menu_processor.asm @ 175:d097e10b383b

CHANGE: Draw a frame around the dive mode menu
author heinrichsweikamp
date Mon, 06 Oct 2014 11:48:23 +0200
parents dcf3e08f31ac
children 669b5d00706d
comparison
equal deleted inserted replaced
174:932e91074bdb 175:d097e10b383b
86 bra menu_processor0 ; No 86 bra menu_processor0 ; No
87 87
88 movlw .1 88 movlw .1
89 cpfsgt menupos ; only if menupos=1... 89 cpfsgt menupos ; only if menupos=1...
90 call TFT_clear_divemode_menu ; ... Clear the menu! 90 call TFT_clear_divemode_menu ; ... Clear the menu!
91
92 ; Draw one frame around the divemode menu
93 extern TFT_divemask_color
94 call TFT_divemask_color
95 WIN_FRAME_COLOR16 divemode_menu_row, divemode_menu_lower, divemode_menu_left ,divemode_menu_right ; top, bottom, left, right
96 call TFT_standard_color
97
91 bra menu_processor1 ; Yes, skip some lines here 98 bra menu_processor1 ; Yes, skip some lines here
92 99
93 menu_processor0: 100 menu_processor0:
94 ;---- draw menu title ------------------------------------------------ 101 ;---- draw menu title ------------------------------------------------
95 clrf CCP1CON ; stop PWM 102 clrf CCP1CON ; stop PWM