From d25fe1438c07e0aa0146abf1a74daa5a61d0d577 Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Fri, 4 Jul 2014 02:46:45 +0200 Subject: [PATCH] Change CComponents::clearSavedScreen() from protected to public Signed-off-by: Thilo Graf Conflicts: src/gui/components/cc_base.h --- src/gui/components/cc_base.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_base.h b/src/gui/components/cc_base.h index cc89b409b..fa984baf9 100644 --- a/src/gui/components/cc_base.h +++ b/src/gui/components/cc_base.h @@ -110,8 +110,6 @@ class CComponents : public CComponentsSignals, public COSDFader ///container: contains saved pixel buffer with position and dimensions comp_screen_data_t saved_screen; - ///cleans saved pixel buffer - void clearSavedScreen(); public: ///basic component class constructor. @@ -223,6 +221,9 @@ class CComponents : public CComponentsSignals, public COSDFader virtual void allowPaint(bool allow){cc_allow_paint = allow; is_painted = cc_allow_paint ? false : true;}; ///returns visibility mode virtual bool paintAllowed(){return cc_allow_paint;}; + + ///cleans saved pixel buffer + virtual void clearSavedScreen(); }; class CComponentsItem : public CComponents