Forms/header/clock: implement slot into OnBeforeRePaint

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1c217b404f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-02 (Thu, 02 Feb 2017)


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

------------------
This commit was generated by Migit
This commit is contained in:
2017-02-02 11:00:47 +01:00
parent 5605780daf
commit 53f75282ce
5 changed files with 17 additions and 12 deletions

View File

@@ -68,7 +68,9 @@ class CComponentsForm : public CComponentsItem
///force repaint of all possible text items
void forceItemsPaint(bool force);
///slot for background paint event, reserved for forceItemsPaint()
sigc::slot0<void> sl_repaint;
sigc::slot0<void> sl_items_repaint;
///slot for repaint event, reserved for actions before repaint if paint() already was done.
sigc::slot0<void> sl_form_repaint;
public:
CComponentsForm( const int x_pos = 0, const int y_pos = 0, const int w = 800, const int h = 600,