diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-01 14:40:09 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-01 14:40:09 +0100 |
commit | fef0b70bb11e85bc5ef7a0c8c5dbc42e5f9f1faa (patch) | |
tree | fbe654e37b060e9c56249ccc708bd0f10aa43a8e /skinclassic.c | |
parent | 26cb900ddf265fce62066a01b4556ba18c5579ca (diff) | |
download | vdr-fef0b70bb11e85bc5ef7a0c8c5dbc42e5f9f1faa.tar.gz vdr-fef0b70bb11e85bc5ef7a0c8c5dbc42e5f9f1faa.tar.bz2 |
Removed unused variables in skinclassic.c and skinsttng.c
Diffstat (limited to 'skinclassic.c')
-rw-r--r-- | skinclassic.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/skinclassic.c b/skinclassic.c index fd3ab0b1..18851a8e 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.12 2005/05/16 10:45:07 kls Exp $ + * $Id: skinclassic.c 1.13 2006/01/01 14:37:58 kls Exp $ */ #include "skinclassic.h" @@ -378,7 +378,6 @@ private: int x0, x1; int y0, y1, y2, y3; int lastCurrentWidth; - bool message; public: cSkinClassicDisplayReplay(bool ModeOnly); virtual ~cSkinClassicDisplayReplay(); @@ -397,7 +396,6 @@ cSkinClassicDisplayReplay::cSkinClassicDisplayReplay(bool ModeOnly) const cFont *font = cFont::GetFont(fontOsd); int lineHeight = font->Height(); lastCurrentWidth = 0; - message = false; x0 = 0; x1 = Setup.OSDWidth; y0 = 0; @@ -467,12 +465,9 @@ void cSkinClassicDisplayReplay::SetMessage(eMessageType Type, const char *Text) if (Text) { osd->SaveRegion(x0, y2, x1 - 1, y3 - 1); osd->DrawText(x0, y2, Text, Theme.Color(clrMessageStatusFg + 2 * Type), Theme.Color(clrMessageStatusBg + 2 * Type), font, x1 - x0, y3 - y2, taCenter); - message = true; } - else { + else osd->RestoreRegion(); - message = false; - } } void cSkinClassicDisplayReplay::Flush(void) |