diff --git a/src/gui/components/cc_base.cpp b/src/gui/components/cc_base.cpp index 22b06f7f8..33f074794 100644 --- a/src/gui/components/cc_base.cpp +++ b/src/gui/components/cc_base.cpp @@ -35,7 +35,7 @@ using namespace std; //abstract basic class CComponents -CComponents::CComponents() +CComponents::CComponents() : COSDFader(g_settings.menu_Content_alpha) { x = saved_screen.x = 0; y = saved_screen.y = 0; diff --git a/src/gui/components/cc_base.h b/src/gui/components/cc_base.h index 40e764c00..7a9fc262b 100644 --- a/src/gui/components/cc_base.h +++ b/src/gui/components/cc_base.h @@ -32,13 +32,13 @@ #include #include #include - +#include /// Basic component class. /*! Basic attributes and member functions for component sub classes */ -class CComponents +class CComponents : public COSDFader { private: ///pixel buffer handling, returns pixel buffer depends of given parameters