mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +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:
@@ -65,6 +65,11 @@ class CComponentsForm : public CComponentsItem
|
||||
const fb_pixel_t& color_body,
|
||||
const fb_pixel_t& color_shadow);
|
||||
|
||||
///force repaint of all possible text items
|
||||
void forceItemsPaint(bool force);
|
||||
///slot for background paint event, reserved for forceItemsPaint()
|
||||
sigc::slot0<void> sl_repaint;
|
||||
|
||||
public:
|
||||
CComponentsForm( const int x_pos = 0, const int y_pos = 0, const int w = 800, const int h = 600,
|
||||
CComponentsForm *parent = NULL,
|
||||
|
Reference in New Issue
Block a user