diff 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
line wrap: on
line diff
--- a/src/menu_processor.asm	Sun Oct 05 15:36:17 2014 +0200
+++ b/src/menu_processor.asm	Mon Oct 06 11:48:23 2014 +0200
@@ -88,6 +88,13 @@
         movlw   .1
         cpfsgt  menupos                 ; only if menupos=1...
         call    TFT_clear_divemode_menu ; ... Clear the menu!
+
+        ; Draw one frame around the divemode menu
+        extern  TFT_divemask_color
+        call    TFT_divemask_color
+    	WIN_FRAME_COLOR16 divemode_menu_row, divemode_menu_lower, divemode_menu_left ,divemode_menu_right	; top, bottom, left, right
+        call    TFT_standard_color
+
         bra     menu_processor1         ; Yes, skip some lines here
 
 menu_processor0: