From 377ef2b18a6499a1ef0e540a74c4e54317efee85 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sun, 23 May 2004 19:29:12 +0000 Subject: - added "ChannelSmall" section (apparently VDR doesn't use it) - added replay and message items - added a german translation of the SKINS document (incomplete) --- display.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'display.c') diff --git a/display.c b/display.c index 395205d..d0079c5 100644 --- a/display.c +++ b/display.c @@ -1,5 +1,5 @@ /* - * $Id: display.c,v 1.1.1.1 2004/05/23 00:08:03 lordjaxom Exp $ + * $Id: display.c,v 1.2 2004/05/23 19:20:26 lordjaxom Exp $ */ #include "display.h" @@ -12,7 +12,7 @@ cText2SkinDisplayChannel::cText2SkinDisplayChannel(cText2SkinData *Data, bool Wi printf("cText2SkinDisplayChannel\n"); mData = Data; mWithInfo = WithInfo; - mRender = new cText2SkinRender(mData, sectionChannel); + mRender = new cText2SkinRender(mData, WithInfo ? sectionChannel : sectionChannelSmall); mDirty = false; } @@ -113,9 +113,17 @@ void cText2SkinDisplayReplay::SetProgress(int Current, int Total) { } void cText2SkinDisplayReplay::SetCurrent(const char *Current) { + if (mRender->mReplayCurrentText != Current) { + mRender->mReplayCurrentText = Current; + mDirty = true; + } } void cText2SkinDisplayReplay::SetTotal(const char *Total) { + if (mRender->mReplayTotalText != Total) { + mRender->mReplayTotalText = Total; + mDirty = true; + } } void cText2SkinDisplayReplay::SetJump(const char *Jump) { -- cgit v1.2.3