Change CComponents::clearSavedScreen() from protected to public

Signed-off-by: Thilo Graf <dbt@novatux.de>

Conflicts:
	src/gui/components/cc_base.h


Origin commit data
------------------
Commit: d25fe1438c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-07-04 (Fri, 04 Jul 2014)
This commit is contained in:
Michael Liebmann
2014-07-04 02:46:45 +02:00
committed by [CST] Focus
parent 83f124eab2
commit c010b27966

View File

@@ -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