CComponentsTimer: rework timer class

This commit is contained in:
2016-04-25 10:26:32 +02:00
parent 10f17ad5ee
commit 4904279fd5
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);