comparison src/menu_processor.asm @ 169:dcf3e08f31ac

CHANGE: Improve internal logbook usability
author heinrichsweikamp
date Mon, 29 Sep 2014 22:26:47 +0200
parents 53409476a05f
children d097e10b383b
comparison
equal deleted inserted replaced
168:1784ab9362ca 169:dcf3e08f31ac
94 ;---- draw menu title ------------------------------------------------ 94 ;---- draw menu title ------------------------------------------------
95 clrf CCP1CON ; stop PWM 95 clrf CCP1CON ; stop PWM
96 bcf PORTC,2 ; Pull PWM out to GND 96 bcf PORTC,2 ; Pull PWM out to GND
97 call TFT_ClearScreen 97 call TFT_ClearScreen
98 rcall menu_processor_title 98 rcall menu_processor_title
99 99 rcall menu_processor_bottom_line
100
101 menu_processor1:
102 movlw FT_SMALL
103 movff WREG, win_font
104
105 ;---- Select menu type -----------------------------------------------
106 bra menu_vertical
107
108 global menu_processor_bottom_line
109 menu_processor_bottom_line:
100 ;---- Draw bottomline ------------------------------------------------ 110 ;---- Draw bottomline ------------------------------------------------
101 TEXT_TINY .5, .240-.16, tNext 111 TEXT_TINY .5, .240-.16, tNext
102 TEXT_TINY .160-6*5, .240-.16, tEnter 112 TEXT_TINY .160-6*5, .240-.16, tEnter
103 113
104 WIN_COLOR color_greenish 114 WIN_COLOR color_greenish
108 call TFT_cat_serial 118 call TFT_cat_serial
109 STRCAT " v" 119 STRCAT " v"
110 call TFT_cat_firmware 120 call TFT_cat_firmware
111 STRCAT_PRINT "" 121 STRCAT_PRINT ""
112 call TFT_standard_color 122 call TFT_standard_color
113 123 return
114 menu_processor1:
115 movlw FT_SMALL
116 movff WREG, win_font
117
118 ;---- Select menu type -----------------------------------------------
119 bra menu_vertical
120 124
121 ;============================================================================= 125 ;=============================================================================
122 ; (re-)draw menu title. 126 ; (re-)draw menu title.
123 ; 127 ;
124 menu_processor_title: 128 menu_processor_title: