Fixed the height of the channel display in the "Classic VDR" skin

This commit is contained in:
Klaus Schmidinger 2004-05-29 13:31:29 +02:00
parent 6b60a35f8d
commit 1bc35792d1
2 changed files with 3 additions and 2 deletions

View File

@ -2859,3 +2859,4 @@ Video Disk Recorder Revision History
that implement skins will need to implement these functions. This fixes a missing
"Editing process finished" message (thanks to Oliver Endriss for reporting this
one).
- Fixed the height of the channel display in the "Classic VDR" skin.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: skinclassic.c 1.5 2004/05/29 13:13:50 kls Exp $
* $Id: skinclassic.c 1.6 2004/05/29 13:29:00 kls Exp $
*/
#include "skinclassic.h"
@ -94,7 +94,7 @@ cSkinClassicDisplayChannel::cSkinClassicDisplayChannel(bool WithInfo)
message = false;
osd = cOsdProvider::NewOsd(Setup.OSDLeft, Setup.OSDTop + (Setup.ChannelInfoPos ? 0 : Setup.OSDHeight - Lines * lineHeight));
timeWidth = font->Width("00:00") + 4;
tArea Areas[] = { { 0, 0, Setup.OSDWidth - 1, Lines * lineHeight, 4 } };
tArea Areas[] = { { 0, 0, Setup.OSDWidth - 1, Lines * lineHeight - 1, 4 } };
osd->SetAreas(Areas, sizeof(Areas) / sizeof(tArea));
osd->DrawRectangle(0, 0, osd->Width() - 1, osd->Height() - 1, Theme.Color(clrBackground));
}