mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
Change CComponents::clearSavedScreen() from protected to public
Signed-off-by: Thilo Graf <dbt@novatux.de> Conflicts: src/gui/components/cc_base.h
This commit is contained in:
@@ -110,8 +110,6 @@ class CComponents : public CComponentsSignals, public COSDFader
|
|||||||
|
|
||||||
///container: contains saved pixel buffer with position and dimensions
|
///container: contains saved pixel buffer with position and dimensions
|
||||||
comp_screen_data_t saved_screen;
|
comp_screen_data_t saved_screen;
|
||||||
///cleans saved pixel buffer
|
|
||||||
void clearSavedScreen();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
///basic component class constructor.
|
///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;};
|
virtual void allowPaint(bool allow){cc_allow_paint = allow; is_painted = cc_allow_paint ? false : true;};
|
||||||
///returns visibility mode
|
///returns visibility mode
|
||||||
virtual bool paintAllowed(){return cc_allow_paint;};
|
virtual bool paintAllowed(){return cc_allow_paint;};
|
||||||
|
|
||||||
|
///cleans saved pixel buffer
|
||||||
|
virtual void clearSavedScreen();
|
||||||
};
|
};
|
||||||
|
|
||||||
class CComponentsItem : public CComponents
|
class CComponentsItem : public CComponents
|
||||||
|
Reference in New Issue
Block a user