diff options
Diffstat (limited to 'displaymenu.c')
-rw-r--r-- | displaymenu.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/displaymenu.c b/displaymenu.c index 7f681187..2609191a 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -1963,9 +1963,15 @@ bool cFlatDisplayMenu::SetItemRecording(const cRecording *Recording, int Index, else if( FrameSeen < 0.98 ) SeenIcon = "recording_seen_9"; else - SeenIcon = ""; // Do not show seenicon if recording is full seen + SeenIcon = "recording_seen_10"; - cImage *imgSeen = imgLoader.LoadIcon(SeenIcon, fontHeight, fontHeight); + cImage *imgSeen = NULL; + if( Current ) { + cString SeenIconCur = cString::sprintf("%s_cur", *SeenIcon); + imgSeen = imgLoader.LoadIcon(SeenIconCur, fontHeight, fontHeight); + } + if( imgSeen == NULL ) + imgSeen = imgLoader.LoadIcon(SeenIcon, fontHeight, fontHeight); if( imgSeen != NULL ) menuIconsPixmap->DrawImage( cPoint(Left, Top), *imgSeen ); } @@ -2085,9 +2091,15 @@ bool cFlatDisplayMenu::SetItemRecording(const cRecording *Recording, int Index, else if( FrameSeen < 0.98 ) SeenIcon = "recording_seen_9"; else - SeenIcon = ""; // Do not show seenicon if recording is full seen + SeenIcon = "recording_seen_10"; - cImage *imgSeen = imgLoader.LoadIcon(SeenIcon, fontHeight, fontHeight); + cImage *imgSeen = NULL; + if( Current ) { + cString SeenIconCur = cString::sprintf("%s_cur", *SeenIcon); + imgSeen = imgLoader.LoadIcon(SeenIconCur, fontHeight, fontHeight); + } + if( imgSeen == NULL ) + imgSeen = imgLoader.LoadIcon(SeenIcon, fontHeight, fontHeight); if( imgSeen != NULL ) menuIconsPixmap->DrawImage( cPoint(Left, Top), *imgSeen ); } |