mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsForm: add some usefull slots/signal to help paint backgrounds
Requried to paint form items only on changed contents and on repaint
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user