CComponentsFrmClock: remove unused parameter,fix possible compiler warnings

Origin commit data
------------------
Commit: 8573db8019
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-22 (Fri, 22 Apr 2016)
This commit is contained in:
2016-04-22 13:29:34 +02:00
parent c167f68b78
commit b0db75af05
2 changed files with 3 additions and 3 deletions

View File

@@ -346,7 +346,7 @@ bool CComponentsFrmClock::stopClock()
return false; return false;
} }
bool CComponentsFrmClock::Start(bool do_save_bg) bool CComponentsFrmClock::Start()
{ {
if (startClock()) { if (startClock()) {
paintClock = true; paintClock = true;

View File

@@ -134,9 +134,9 @@ class CComponentsFrmClock : public CComponentsForm, public CCTextScreen
virtual void setClockFormat(const char* prformat_str, const char* secformat_str = NULL); virtual void setClockFormat(const char* prformat_str, const char* secformat_str = NULL);
///start and paint ticking clock ///start and paint ticking clock
virtual bool Start(bool do_save_bg = CC_SAVE_SCREEN_NO); virtual bool Start();
///same like Start() but for usage as simple call without return value ///same like Start() but for usage as simple call without return value
virtual void unblock(/*bool do_save_bg = CC_SAVE_SCREEN_NO*/){Start(cc_save_bg);} virtual void unblock(){Start();}
///stop ticking clock, but don't hide, use kill() or hide() to remove from screen ///stop ticking clock, but don't hide, use kill() or hide() to remove from screen
virtual bool Stop(); virtual bool Stop();
///same like Stop() but for usage as simple call without return value ///same like Stop() but for usage as simple call without return value