summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-03-11 20:33:58 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-03-11 20:33:58 +0100
commitd15b59582da7115def27ab32fa239a5dcabadec1 (patch)
tree717ff1f980e3d72e3b35b3c2d2f1d5c268bfffc7 /displaymenu.c
parentbe360f1cd8a503cb1fd63573f96f02a52d87d2aa (diff)
downloadskin-flatplus-d15b59582da7115def27ab32fa239a5dcabadec1.tar.gz
skin-flatplus-d15b59582da7115def27ab32fa239a5dcabadec1.tar.bz2
update channel background logo position
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/displaymenu.c b/displaymenu.c
index 0fe9ca8d..3c7d2eec 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -1211,12 +1211,13 @@ bool cFlatDisplayMenu::SetItemEvent(const cEvent *Event, int Index, bool Current
}
Left += w + marginItem;
- cImage *imgBG = imgLoader.LoadIcon("logo_background", fontHeight, fontHeight);
- if( imgBG ) {
- imageTop = Top + (fontHeight - imgBG->Height()) / 2;
- menuIconsBGPixmap->DrawImage( cPoint(Left, imageTop), *imgBG );
+ if( !Channel->GroupSep() ) {
+ cImage *imgBG = imgLoader.LoadIcon("logo_background", fontHeight, fontHeight);
+ if( imgBG ) {
+ imageTop = Top + (fontHeight - imgBG->Height()) / 2;
+ menuIconsBGPixmap->DrawImage( cPoint(Left, imageTop), *imgBG );
+ }
}
-
img = imgLoader.LoadLogo(Channel->Name(), fontHeight, fontHeight);
if( img ) {
imageTop = Top + (fontHeight - img->Height()) / 2;