cc_frm_clock.cpp: declare force_repaint as const

Origin commit data
------------------
Branch: ni/coolstream
Commit: cd042bd936
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2019-01-01 21:50:50 +01:00
committed by vanhofen
parent a0124da1c0
commit ed5b09a97f

View File

@@ -227,6 +227,8 @@ void CComponentsFrmClock::initCCLockItems()
//summary of all segments (labels)
int w_segments = 0;
const bool force_repaint = cl_force_repaint;
/* modify available label items with current segment chars
* we are using segments with only one char per segment,
* these chars are predefined via format string
@@ -260,7 +262,7 @@ void CComponentsFrmClock::initCCLockItems()
//set size, text, color of current item
lbl->setDimensionsAll(x_tmp, y_tmp, w_tmp, h_tmp);
lbl->setColorAll(col_frame, col_body, col_shadow);
lbl->forceTextPaint(cl_force_repaint);
lbl->forceTextPaint(force_repaint);
lbl->setText(stmp, CTextBox::CENTER, cl_font, cl_col_text, cl_font_style);
//init background behavior of segment