mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
CComponentsForm: move slots into base classes
Usable for all form classes
This commit is contained in:
@@ -65,13 +65,6 @@ 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_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,
|
||||
CComponentsForm *parent = NULL,
|
||||
@@ -223,6 +216,9 @@ class CComponentsForm : public CComponentsItem
|
||||
virtual bool clearPaintCache();
|
||||
///cleanup old gradient buffers include from sub items, returns true if any gradient buffer data was removed
|
||||
virtual bool clearFbGradientData();
|
||||
|
||||
///slot for repaint event, reserved for actions before repaint if paint() already was done.
|
||||
sigc::slot0<void> sl_form_repaint;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user