diff src/tft_outputs.asm @ 175:d097e10b383b

CHANGE: Draw a frame around the dive mode menu
author heinrichsweikamp
date Mon, 06 Oct 2014 11:48:23 +0200
parents 8bcb064b4fb8
children abc429e8b46a
line wrap: on
line diff
--- a/src/tft_outputs.asm	Sun Oct 05 15:36:17 2014 +0200
+++ b/src/tft_outputs.asm	Mon Oct 06 11:48:23 2014 +0200
@@ -2056,37 +2056,9 @@
 	global	TFT_dillist_surfmode
 TFT_dillist_surfmode:				; Displays Diluent List
     bsf     short_gas_decriptions   ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
-    ;Dil 1
-    WIN_SMALL surf_gaslist_column,surf_gaslist_row
-    movlw   .5
-    movwf   PRODL
-    call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
-    STRCAT_PRINT ""
-    ;Dil 2
-    WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.1)
-    movlw   .6
-    movwf   PRODL
-    call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
-    STRCAT_PRINT ""
-    ;Dil 3
-    WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.2)
-    movlw   .7
-    movwf   PRODL
-    call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
-    STRCAT_PRINT ""
-    ;Dil 4
-    WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.3)
-    movlw   .8
-    movwf   PRODL
-    call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
-    STRCAT_PRINT ""
-    ;Dil 5
-    WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.4)
-    movlw   .9
-    movwf   PRODL
-    call    gaslist_strcat_gas_mod  ;Append gas description of gas #PRODL (0-4) to current string
-    STRCAT_PRINT ""
-    bcf     leftbind
+    bsf     ccr_diluent_setup       ; Use CCR Diluents...
+    rcall   TFT_gaslist_surfmode    ; Use OC/BAIL routine
+    bcf     ccr_diluent_setup       ; Clear flag
     return
 
 	global	TFT_depth