mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the height of the channel display in the "Classic VDR" skin
This commit is contained in:
parent
6b60a35f8d
commit
1bc35792d1
1
HISTORY
1
HISTORY
@ -2859,3 +2859,4 @@ Video Disk Recorder Revision History
|
|||||||
that implement skins will need to implement these functions. This fixes a missing
|
that implement skins will need to implement these functions. This fixes a missing
|
||||||
"Editing process finished" message (thanks to Oliver Endriss for reporting this
|
"Editing process finished" message (thanks to Oliver Endriss for reporting this
|
||||||
one).
|
one).
|
||||||
|
- Fixed the height of the channel display in the "Classic VDR" skin.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "skinclassic.h"
|
||||||
@ -94,7 +94,7 @@ cSkinClassicDisplayChannel::cSkinClassicDisplayChannel(bool WithInfo)
|
|||||||
message = false;
|
message = false;
|
||||||
osd = cOsdProvider::NewOsd(Setup.OSDLeft, Setup.OSDTop + (Setup.ChannelInfoPos ? 0 : Setup.OSDHeight - Lines * lineHeight));
|
osd = cOsdProvider::NewOsd(Setup.OSDLeft, Setup.OSDTop + (Setup.ChannelInfoPos ? 0 : Setup.OSDHeight - Lines * lineHeight));
|
||||||
timeWidth = font->Width("00:00") + 4;
|
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->SetAreas(Areas, sizeof(Areas) / sizeof(tArea));
|
||||||
osd->DrawRectangle(0, 0, osd->Width() - 1, osd->Height() - 1, Theme.Color(clrBackground));
|
osd->DrawRectangle(0, 0, osd->Width() - 1, osd->Height() - 1, Theme.Color(clrBackground));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user