diff options
author | louis <louis.braun@gmx.de> | 2013-05-09 14:20:00 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-09 14:20:00 +0200 |
commit | 45b91d060e0991870c3784970a3964797df89812 (patch) | |
tree | 3a5d2944d77154322ed5f23a8abb4d03bd246992 /menuitem.c | |
parent | b6d15a30ecaf9fd4dbda4aefe455f8a682e3f474 (diff) | |
download | skin-nopacity-45b91d060e0991870c3784970a3964797df89812.tar.gz skin-nopacity-45b91d060e0991870c3784970a3964797df89812.tar.bz2 |
Fixed display of recording duration in recordings menu when a cut is running
Diffstat (limited to 'menuitem.c')
-rw-r--r-- | menuitem.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1054,14 +1054,15 @@ void cNopacityRecordingMenuItem::DrawFolderIcon(void) { void cNopacityRecordingMenuItem::DrawRecDateTime(void) { int iconDateTimeSize = config.menuRecFolderSize / 2; + int iconHeight = height/2 + (height/2 - iconDateTimeSize)/2; if (!drawn) { cImageLoader imgLoader; if (imgLoader.LoadIcon("skinIcons/recordingdatetime", iconDateTimeSize)) { - int iconHeight = height/2 + (height/2 - iconDateTimeSize)/2; pixmapIcon->DrawImage(cPoint(3, iconHeight), imgLoader.GetImage()); } drawn = true; } + pixmapIcon->DrawRectangle(cRect(iconHeight, 0, width-iconHeight, height), clrTransparent); const cEvent *Event = NULL; Event = Recording->Info()->GetEvent(); cString strDateTime(""); |