summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManiac <a@hsjfdh.de>2012-09-02 14:24:44 +0200
committerManiac <a@hsjfdh.de>2012-09-02 14:24:44 +0200
commit91110bb94d131f02ecc679892f6ca07f56dcb7f6 (patch)
tree4e8056be354055d32cd38910380dfa90b940f9ca
parent02ea4ddf1d7ee3607a55d0cd00ba952ad28911e5 (diff)
downloadvdr-plugin-skinpearlhd-91110bb94d131f02ecc679892f6ca07f56dcb7f6.tar.gz
vdr-plugin-skinpearlhd-91110bb94d131f02ecc679892f6ca07f56dcb7f6.tar.bz2
Replay: don't display current/total in ModeOnly
-rw-r--r--pearlhd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pearlhd.c b/pearlhd.c
index ed20552..afb1ea7 100644
--- a/pearlhd.c
+++ b/pearlhd.c
@@ -1683,6 +1683,7 @@ private:
int x2Message;
int y1Message;
int y2Message;
+ bool modeOnly;
public:
cSkinPearlHDDisplayReplay(bool ModeOnly);
virtual ~cSkinPearlHDDisplayReplay();
@@ -1698,6 +1699,7 @@ public:
cSkinPearlHDDisplayReplay::cSkinPearlHDDisplayReplay(bool ModeOnly)
{
+ modeOnly = ModeOnly;
fontSansBook27 = cFont::CreateFont("VDRSymbols Sans:Book", 27);
x1 = 0;
x2 = cOsd::OsdWidth();
@@ -1813,7 +1815,7 @@ void cSkinPearlHDDisplayReplay::SetMessage(eMessageType Type, const char *Text)
void cSkinPearlHDDisplayReplay::Flush(void)
{
- if (current && total)
+ if (current && total && !modeOnly)
{
char timeplayed[50];
snprintf (timeplayed, sizeof(timeplayed), "%s %s %s", current, tr("of"), total);