CComponentsForm: add some usefull slots/signal to help paint backgrounds

Requried to paint form items only on changed contents and on repaint


Origin commit data
------------------
Commit: 7e6cbe5410
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
This commit is contained in:
2017-01-24 23:27:44 +01:00
committed by Michael Liebmann
parent 3da33900c6
commit 5c4e0a25e8
5 changed files with 46 additions and 34 deletions

View File

@@ -54,9 +54,6 @@ class CComponentsFrmClock : public CComponentsForm, public CCTextScreen
///slot for timer event, reserved for ShowTime()
sigc::slot0<void> cl_sl_show;
///slot for background paint event, reserved for initCCLockItems()
sigc::slot0<void> cl_sl_repaint;
///refresh interval in seconds
int cl_interval;
@@ -93,8 +90,6 @@ class CComponentsFrmClock : public CComponentsForm, public CCTextScreen
void toggleFormat();
///init internal font
void initClockFont(int dx, int dy);
///force repaint of all segments
void forceSegemnentsPaint(bool force);
public: