mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
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:
@@ -227,6 +227,8 @@ void CComponentsFrmClock::initCCLockItems()
|
|||||||
//summary of all segments (labels)
|
//summary of all segments (labels)
|
||||||
int w_segments = 0;
|
int w_segments = 0;
|
||||||
|
|
||||||
|
const bool force_repaint = cl_force_repaint;
|
||||||
|
|
||||||
/* modify available label items with current segment chars
|
/* modify available label items with current segment chars
|
||||||
* we are using segments with only one char per segment,
|
* we are using segments with only one char per segment,
|
||||||
* these chars are predefined via format string
|
* these chars are predefined via format string
|
||||||
@@ -260,7 +262,7 @@ void CComponentsFrmClock::initCCLockItems()
|
|||||||
//set size, text, color of current item
|
//set size, text, color of current item
|
||||||
lbl->setDimensionsAll(x_tmp, y_tmp, w_tmp, h_tmp);
|
lbl->setDimensionsAll(x_tmp, y_tmp, w_tmp, h_tmp);
|
||||||
lbl->setColorAll(col_frame, col_body, col_shadow);
|
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);
|
lbl->setText(stmp, CTextBox::CENTER, cl_font, cl_col_text, cl_font_style);
|
||||||
|
|
||||||
//init background behavior of segment
|
//init background behavior of segment
|
||||||
|
Reference in New Issue
Block a user