mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsFrmClock: Initialize 'activeClock' variable
- Add function setClockActiv()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0434061172
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -85,6 +85,7 @@ void CComponentsFrmClock::initVarClock()
|
|||||||
cl_thread = 0;
|
cl_thread = 0;
|
||||||
cl_interval = 1;
|
cl_interval = 1;
|
||||||
|
|
||||||
|
activeClock = true;
|
||||||
cl_blink_str = "";
|
cl_blink_str = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -130,6 +130,9 @@ class CComponentsFrmClock : public CComponentsForm
|
|||||||
|
|
||||||
///reinitialize clock contents
|
///reinitialize clock contents
|
||||||
virtual void refresh() { initCCLockItems(); }
|
virtual void refresh() { initCCLockItems(); }
|
||||||
|
|
||||||
|
///set clock activ/inactiv
|
||||||
|
virtual void setClockActiv(bool activ = true){activeClock = activ;};
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user