From 9601760137a53e7be7553a9a0cfb898d0c1b7300 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 2 Nov 2012 09:51:40 +0100 Subject: [PATCH] CComponentsForm: members become virtual Members of CComponentsForm will be used in sub classes. --- src/gui/components/cc.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gui/components/cc.h b/src/gui/components/cc.h index 21e71cc80..5d28a242c 100644 --- a/src/gui/components/cc.h +++ b/src/gui/components/cc.h @@ -428,7 +428,6 @@ class CComponentsForm : public CComponentsItem protected: std::vector v_cc_items; void paintCCItems(); - private: void initVarForm(); 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); ~CComponentsForm(); - void paint(bool do_save_bg = CC_SAVE_SCREEN_YES); - void hide(bool no_restore = false); - void addCCItem(CComponentsItem* cc_Item); + virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES); + virtual void hide(bool no_restore = false); + virtual void addCCItem(CComponentsItem* cc_Item); }; #endif