summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/displaymenu.c b/displaymenu.c
index c5951410..334798f8 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -52,6 +52,8 @@ cFlatDisplayMenu::cFlatDisplayMenu(void) {
ShowRecording = false;
ShowText = false;
+ ItemEventLastChannelName = "";
+
menuWidth = osdWidth;
menuTop = topBarHeight + marginItem + Config.decorBorderTopBarSize*2 + Config.decorBorderMenuItemSize;
menuPixmap = osd->CreatePixmap(1, cRect(0, menuTop, menuWidth, scrollBarHeight ));
@@ -686,10 +688,12 @@ bool cFlatDisplayMenu::SetItemChannel(const cChannel *Channel, int Index, bool C
int imageLeft = Left;
int imageTop = Top;
- cImage *imgBG = imgLoader.LoadIcon("logo_background", imageHeight, imageHeight);
- if( imgBG ) {
- imageTop = Top + (fontHeight - imgBG->Height()) / 2;
- menuIconsBGPixmap->DrawImage( cPoint(imageLeft, imageTop), *imgBG );
+ if( !Channel->GroupSep() ) {
+ cImage *imgBG = imgLoader.LoadIcon("logo_background", imageHeight, imageHeight);
+ if( imgBG ) {
+ imageTop = Top + (fontHeight - imgBG->Height()) / 2;
+ menuIconsBGPixmap->DrawImage( cPoint(imageLeft, imageTop), *imgBG );
+ }
}
cImage *img = imgLoader.LoadLogo(Channel->Name(), imageHeight, imageHeight);
if( img ) {