From 1bc35792d1da62b171e6358e62594eb5603c851c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 29 May 2004 13:31:29 +0200 Subject: Fixed the height of the channel display in the "Classic VDR" skin --- HISTORY | 1 + skinclassic.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 44bef6b1..32571849 100644 --- a/HISTORY +++ b/HISTORY @@ -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. diff --git a/skinclassic.c b/skinclassic.c index 25d0ef50..cc32f9f0 100644 --- a/skinclassic.c +++ b/skinclassic.c @@ -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)); } -- cgit v1.2.3