diff options
author | louis <louis.braun@gmx.de> | 2013-11-03 13:20:51 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-11-03 13:20:51 +0100 |
commit | fa1a833f2d4597372eb82cad8f9c187990249a35 (patch) | |
tree | 33da204accf12fe815644dfd4c6485ed0f68bc3b /menuitem.c | |
parent | e6176e648e3baf2685f4b27afa5abd0ac91b4971 (diff) | |
download | skin-nopacity-fa1a833f2d4597372eb82cad8f9c187990249a35.tar.gz skin-nopacity-fa1a833f2d4597372eb82cad8f9c187990249a35.tar.bz2 |
improved display of text progress bar in wide menus
Diffstat (limited to 'menuitem.c')
-rw-r--r-- | menuitem.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1476,10 +1476,10 @@ void cNopacityDefaultMenuItem::DrawProgressBar(int x, int width, const char *bar } } if (isProgressbar) { - pixmapBackground->DrawRectangle(cRect(x+5, height/4, width-10, height/2), color); - pixmapBackground->DrawRectangle(cRect(x+7, height/4+2, width-14, height/2-4), Theme.Color(clrMenuItemBlend)); + pixmapStatic->DrawRectangle(cRect(x+5, height/4, width-10, height/2), color); + pixmapStatic->DrawRectangle(cRect(x+7, height/4+2, width-14, height/2-4), clrTransparent); double progress = (double)now/(double)total; - pixmapBackground->DrawRectangle(cRect(x+8, height/4+3, (width-16)*progress, height/2-6), color); + pixmapStatic->DrawRectangle(cRect(x+8, height/4+3, (width-16)*progress, height/2-6), color); } } |