mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
cc_frm_clock: replaced paintClock with cl_blocked
for better readability
Origin commit data
------------------
Branch: ni/coolstream
Commit: e7d36360a4
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-12-30 (Mon, 30 Dec 2019)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -63,7 +63,7 @@ class CComponentsFrmClock : public CComponentsForm, public CCTextScreen
|
||||
char cl_timestr[32];
|
||||
|
||||
///handle paint clock within thread and is not similar to cc_allow_paint
|
||||
bool paintClock;
|
||||
bool cl_blocked;
|
||||
|
||||
///object: font render object
|
||||
Font *cl_font;
|
||||
@@ -151,7 +151,7 @@ class CComponentsFrmClock : public CComponentsForm, public CCTextScreen
|
||||
///same like Stop() but for usage as simple call without return value
|
||||
void block(){Stop();}
|
||||
///return true on blocked status, blocked means clock can be initalized but would be not paint, to unblock use unblock()
|
||||
bool isBlocked(void) {return !paintClock;}
|
||||
bool isBlocked(void) {return cl_blocked;}
|
||||
|
||||
///returns true, if clock is running
|
||||
bool isRun() const {return cl_timer ? cl_timer->isRun() : false;}
|
||||
|
Reference in New Issue
Block a user