summaryrefslogtreecommitdiff
path: root/skinsttng.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-01 14:40:09 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-01 14:40:09 +0100
commitfef0b70bb11e85bc5ef7a0c8c5dbc42e5f9f1faa (patch)
treefbe654e37b060e9c56249ccc708bd0f10aa43a8e /skinsttng.c
parent26cb900ddf265fce62066a01b4556ba18c5579ca (diff)
downloadvdr-fef0b70bb11e85bc5ef7a0c8c5dbc42e5f9f1faa.tar.gz
vdr-fef0b70bb11e85bc5ef7a0c8c5dbc42e5f9f1faa.tar.bz2
Removed unused variables in skinclassic.c and skinsttng.c
Diffstat (limited to 'skinsttng.c')
-rw-r--r--skinsttng.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/skinsttng.c b/skinsttng.c
index e7f3d8b8..1e2d8cdc 100644
--- a/skinsttng.c
+++ b/skinsttng.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinsttng.c 1.15 2005/08/15 11:14:59 kls Exp $
+ * $Id: skinsttng.c 1.16 2006/01/01 14:38:14 kls Exp $
*/
// Star Trek: The Next Generation® is a registered trademark of Paramount Pictures
@@ -643,7 +643,6 @@ private:
int y0, y1, y2, y3, y4, y5, y6, y7;
tColor frameColor;
int lastCurrentWidth;
- bool message;
public:
cSkinSTTNGDisplayReplay(bool ModeOnly);
virtual ~cSkinSTTNGDisplayReplay();
@@ -666,7 +665,6 @@ cSkinSTTNGDisplayReplay::cSkinSTTNGDisplayReplay(bool ModeOnly)
int lineHeight = font->Height();
frameColor = Theme.Color(clrReplayFrame);
lastCurrentWidth = 0;
- message = false;
cBitmap bm(play_xpm);
x0 = 0;
x1 = max(SymbolWidth, bm.Width());
@@ -772,12 +770,9 @@ void cSkinSTTNGDisplayReplay::SetMessage(eMessageType Type, const char *Text)
osd->SaveRegion(x2, y6, x4 - 1, y7 - 1);
osd->DrawRectangle(x2, y6, x3 - 1, y7 - 1, Theme.Color(clrBackground));
osd->DrawText(x3, y6, Text, Theme.Color(clrMessageStatusFg + 2 * Type), Theme.Color(clrMessageStatusBg + 2 * Type), font, x4 - x3, 0, taCenter);
- message = true;
}
- else {
+ else
osd->RestoreRegion();
- message = false;
- }
}
void cSkinSTTNGDisplayReplay::Flush(void)