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:
2019-12-30 17:40:32 +01:00
committed by vanhofen
parent af337e12cb
commit 1235ee4f55
2 changed files with 6 additions and 6 deletions

View File

@@ -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;}