CComponentsTimer: rework timer class

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4904279fd5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-25 (Mon, 25 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2016-04-25 10:26:32 +02:00
parent 35dd1c5558
commit 461b61badf
5 changed files with 144 additions and 61 deletions

View File

@@ -147,7 +147,7 @@ class CComponentsFrmClock : public CComponentsForm, public CCTextScreen
///returns true, if clock is running
virtual bool isRun() const {return cl_timer ? true : false;};
///set refresh interval in seconds, default value=1 (=1 sec)
virtual void setClockIntervall(const int& seconds){cl_interval = seconds;};
virtual void setClockInterval(const int& seconds){cl_interval = seconds;};
///show clock on screen
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);