comparison src/customview.asm @ 353:573f2251cf49

NEW: Quit Simulator automatically when starting a real dive
author heinrichsweikamp
date Tue, 28 Jul 2015 16:32:55 +0200
parents 508d7fb98b34
children e99bb91f6f92
comparison
equal deleted inserted replaced
352:5c6da9fa5cb0 353:573f2251cf49
373 bra customview_mask ; No, show 373 bra customview_mask ; No, show
374 customview_toggle_reset: ; Timeout occured 374 customview_toggle_reset: ; Timeout occured
375 clrf menupos3 ; Reset to zero (Zero=no custom view) 375 clrf menupos3 ; Reset to zero (Zero=no custom view)
376 global customview_mask 376 global customview_mask
377 customview_mask: 377 customview_mask:
378 call TFT_clear_customview_divemode 378 ; Clear custom view area in divemode
379 WIN_BOX_BLACK dm_customview_row, dm_customview_bot, dm_customview_column, dm_customview_rgt ; top, bottom, left, right
379 WIN_SMALL dm_customview_column,dm_customview_row 380 WIN_SMALL dm_customview_column,dm_customview_row
380 call TFT_standard_color 381 call TFT_standard_color
381 movff menupos3,WREG ; Menupos3 holds number of customview function 382 movff menupos3,WREG ; Menupos3 holds number of customview function
382 dcfsnz WREG,F 383 dcfsnz WREG,F
383 bra customview_init_view1 384 bra customview_init_view1