brewpanel/sdlgui.c

changeset 430
36ecc8bbb75d
parent 428
d64c4c1edd78
child 431
b3895cd6edd3
--- a/brewpanel/sdlgui.c	Fri Nov 20 22:43:50 2015 +0100
+++ b/brewpanel/sdlgui.c	Fri Nov 20 23:29:55 2015 +0100
@@ -253,11 +253,11 @@
     SDL_Rect    sr, dr;
     Uint32	bg;
 
-    if (dlg[1].state & SG_SELECTED) {
-	bg = LCDbg1;
-    } else {
+//    if (dlg[1].state & SG_SELECTED) {
+//	bg = LCDbg1;
+//    } else {
 	bg = LCDbg0;
-    }
+//    }
 
     sr.x=fontwidth*(c%16);
     sr.y=fontheight*(c/16);
@@ -348,11 +348,11 @@
 	y += bdlg[0].y;
     }
 
-    if (bdlg[objnum].state & SG_SELECTED) {
-	bg = LCDbg1;
-    } else {
+//    if (bdlg[objnum].state & SG_SELECTED) {
+//	bg = LCDbg1;
+//    } else {
 	bg = LCDbg0;
-    }
+//    }
 
     /* The root box should be bigger than the screen, so we disable the offset there: */
     if (objnum != 0)

mercurial