summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2013-11-21 22:48:40 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2013-11-21 22:48:40 +0100
commit66f386d939db55476b7481fd0c1bc7da6673492c (patch)
tree2f53b56243def7944b45e54837f869a93acf9690 /displaymenu.c
parent185b81474ca56f7f17d60fa89c64183147423e43 (diff)
downloadskin-flatplus-66f386d939db55476b7481fd0c1bc7da6673492c.tar.gz
skin-flatplus-66f386d939db55476b7481fd0c1bc7da6673492c.tar.bz2
remove decor from themes and add decor files
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/displaymenu.c b/displaymenu.c
index 4ce767ff..2e1962a0 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -360,16 +360,12 @@ void cFlatDisplayMenu::SetItem(const char *Text, int Index, bool Current, bool S
cString cIcon = GetIconName( MainMenuText(s) );
cImageLoader imgLoader;
if (imgLoader.LoadIcon(*cIcon, fontHeight)) {
- //printf("icon %s\n", *cIcon);
menuIconsPixmap->DrawImage(cPoint(xt + Config.decorBorderMenuItemSize, y), imgLoader.GetImage());
} else {
if (imgLoader.LoadIcon("menuIcons/blank", fontHeight)) {
- //printf("icon %s\n", *cIcon);
menuIconsPixmap->DrawImage(cPoint(xt + Config.decorBorderMenuItemSize, y), imgLoader.GetImage());
}
}
- //printf("no icon %s\n", *cIcon);
-
menuPixmap->DrawText(cPoint(fontHeight + marginItem + xt + Config.decorBorderMenuItemSize, y), s, ColorFg, ColorBg, font,
Width - xt - marginItem - fontHeight );
} else {