diff options
author | root <root@ion.localnet> | 2010-07-02 21:49:21 +0200 |
---|---|---|
committer | root <root@ion.localnet> | 2010-07-02 21:49:21 +0200 |
commit | bb560a735a93448872e0d954bac3d36e3b410051 (patch) | |
tree | c926a22098b5220a9b929ed60b3e04404ce9094f /watch.c | |
parent | d237e12c3f1817e8d011efdf1b838c340409f28e (diff) | |
download | vdr-plugin-targavfd-bb560a735a93448872e0d954bac3d36e3b410051.tar.gz vdr-plugin-targavfd-bb560a735a93448872e0d954bac3d36e3b410051.tar.bz2 |
Allow partial data transfer
Select brightness by in plain language
Update running clock frequently
Diffstat (limited to 'watch.c')
-rw-r--r-- | watch.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -158,7 +158,7 @@ void cVFDWatch::close() { this->DrawText(0,0,tr("None active timer")); this->icons(0); } - this->flush(); + this->flush(true); break; } case eOnExitMode_SHOWMSG: { @@ -205,9 +205,9 @@ void cVFDWatch::Action(void) cMutexLooker m(mutex); runTime.Set(); - // every second the clock need updates. - if (theSetup.m_bTwoLineMode) { - if((0 == (nCnt % 5))) { + // every second the clock need updates. + if (theSetup.m_bTwoLineMode) { + if((0 == (nCnt % 2))) { bReDraw = CurrentTime(); if(m_eWatchMode != eLiveTV) { bReDraw |= ReplayTime(); @@ -277,7 +277,7 @@ void cVFDWatch::Action(void) } if(bFlush) { - flush(); + flush(false); } } int nDelay = 100 - runTime.Elapsed(); |