changeset 148:6a838784fb3a

Visual improvements.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 05 Oct 2012 10:34:36 +0300
parents ead759da30b4
children c2bf01e180a3
files ppl.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ppl.c	Fri Oct 05 09:38:50 2012 +0300
+++ b/ppl.c	Fri Oct 05 10:34:36 2012 +0300
@@ -355,8 +355,6 @@
     dmDrawBox3D(screen, x0 + lwidth, y0, x1, y1,
         col.inboxBg, col.box2, col.box1);
 
-    yc = y0 + 2 + (font->height + 1) * midrow;
-    dmFillRect(screen, x0 + lwidth + 1, yc - 1, x1 - 1, yc + font->height, col.activeRow);
 
     for (nchannel = 0; nchannel < qwidth; nchannel++)
     {
@@ -375,6 +373,9 @@
             dmDrawBMTextConstQ(screen, font, DMD_TRANSPARENT, bx0 + 10, y1, "MUTED");
         }
     }
+
+    yc = y0 + 2 + (font->height + 1) * midrow;
+    dmFillRect(screen, x0 + lwidth + 1, yc - 1, x1 - 1, yc + font->height, col.activeRow);
     
     for (nrow = 0; nrow < qheight; nrow++)
     {