Mercurial > public > hwos_code
comparison src/customview.asm @ 300:5ad479f2a868
Merged Screen layout mod #1 into Screen layout work #3
author | Janos Kovacs <kovjanos@gmail.com> |
---|---|
date | Sun, 31 May 2015 21:24:16 +0200 |
parents | 653a3ab08062 |
children | 4f83470dcece |
comparison
equal
deleted
inserted
replaced
299:6c4800af27ac | 300:5ad479f2a868 |
---|---|
248 global menuview_toggle_reset | 248 global menuview_toggle_reset |
249 menuview_toggle_reset: ; Timeout occured | 249 menuview_toggle_reset: ; Timeout occured |
250 clrf menupos2 | 250 clrf menupos2 |
251 bcf menuview | 251 bcf menuview |
252 menuview_mask: | 252 menuview_mask: |
253 WIN_BOX_BLACK divemode_simtext_row, divemode_simtext_row+.24, divemode_simtext_column, divemode_simtext_column+.49 ; top, bottom, left, right | 253 WIN_BOX_BLACK dm_simtext_row, dm_simtext_row+.23, dm_simtext_column, dm_simtext_column+.49 ; top, bottom, left, right |
254 btfss FLAG_gauge_mode | 254 btfss FLAG_gauge_mode |
255 bra menuview_mask2 | 255 bra menuview_mask2 |
256 ; Clear some more in gauge mode | 256 ; Clear some more in gauge mode -- |
257 WIN_BOX_BLACK divemode_simtext_row, divemode_simtext_row+.24, divemode_simtext_column+.50, divemode_simtext_column+.70 ; top, bottom, left, right | 257 WIN_BOX_BLACK dm_simtext_row, dm_simtext_row+.23, dm_simtext_column+.50, dm_simtext_column+.70 ; top, bottom, left, right |
258 menuview_mask2: | 258 menuview_mask2: |
259 movlw color_yellow | 259 movlw color_yellow |
260 call TFT_set_color | 260 call TFT_set_color |
261 bsf win_invert ; Set invert flag | 261 bsf win_invert ; Set invert flag |
262 WIN_SMALL divemode_simtext_column,divemode_simtext_row | 262 WIN_SMALL dm_simtext_column,dm_simtext_row |
263 movff menupos2,WREG ; Menupos2 holds number of menu option to show | 263 movff menupos2,WREG ; Menupos2 holds number of menu option to show |
264 dcfsnz WREG,F | 264 dcfsnz WREG,F |
265 bra menuview_view_gaschange ; If a better gas is indicated | 265 bra menuview_view_gaschange ; If a better gas is indicated |
266 dcfsnz WREG,F | 266 dcfsnz WREG,F |
267 bra menuview_view1 ; "Menu?" (Not in Gauge and Anpnoe) | 267 bra menuview_view1 ; "Menu?" (Not in Gauge and Anpnoe) |
363 customview_toggle_reset: ; Timeout occured | 363 customview_toggle_reset: ; Timeout occured |
364 clrf menupos3 ; Reset to zero (Zero=no custom view) | 364 clrf menupos3 ; Reset to zero (Zero=no custom view) |
365 global customview_mask | 365 global customview_mask |
366 customview_mask: | 366 customview_mask: |
367 call TFT_clear_customview_divemode | 367 call TFT_clear_customview_divemode |
368 WIN_SMALL divemode_customview_column,divemode_customview_row | 368 WIN_SMALL dm_customview_column,dm_customview_row |
369 call TFT_standard_color | 369 call TFT_standard_color |
370 movff menupos3,WREG ; Menupos3 holds number of customview function | 370 movff menupos3,WREG ; Menupos3 holds number of customview function |
371 dcfsnz WREG,F | 371 dcfsnz WREG,F |
372 bra customview_init_view1 | 372 bra customview_init_view1 |
373 dcfsnz WREG,F | 373 dcfsnz WREG,F |