CComponentsForm: members become virtual

Members of CComponentsForm will be used in sub classes.
This commit is contained in:
2012-11-02 09:51:40 +01:00
parent d84c968157
commit 9601760137

View File

@@ -428,7 +428,6 @@ class CComponentsForm : public CComponentsItem
protected: protected:
std::vector<CComponentsItem*> v_cc_items; std::vector<CComponentsItem*> v_cc_items;
void paintCCItems(); void paintCCItems();
private:
void initVarForm(); void initVarForm();
public: public:
@@ -438,9 +437,9 @@ class CComponentsForm : public CComponentsItem
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6, fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0, fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0); fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6, fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0, fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
~CComponentsForm(); ~CComponentsForm();
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES); virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
void hide(bool no_restore = false); virtual void hide(bool no_restore = false);
void addCCItem(CComponentsItem* cc_Item); virtual void addCCItem(CComponentsItem* cc_Item);
}; };
#endif #endif