mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsFrmClock: Initialize 'activeClock' variable
- Add function setClockActiv()
This commit is contained in:
@@ -85,6 +85,7 @@ void CComponentsFrmClock::initVarClock()
|
||||
cl_thread = 0;
|
||||
cl_interval = 1;
|
||||
|
||||
activeClock = true;
|
||||
cl_blink_str = "";
|
||||
}
|
||||
|
||||
|
@@ -130,6 +130,9 @@ class CComponentsFrmClock : public CComponentsForm
|
||||
|
||||
///reinitialize clock contents
|
||||
virtual void refresh() { initCCLockItems(); }
|
||||
|
||||
///set clock activ/inactiv
|
||||
virtual void setClockActiv(bool activ = true){activeClock = activ;};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user