mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponents: add setColBodyGradient() to set gradient properties
This provides possibility to set relevant gradiant properties in cc sub classes
This commit is contained in:
@@ -64,7 +64,7 @@ CComponents::CComponents() : COSDFader(g_settings.theme.menu_Content_alpha)
|
||||
frameBuffer = CFrameBuffer::getInstance();
|
||||
v_fbdata.clear();
|
||||
saved_screen.pixbuf = NULL;
|
||||
cc_gradientBuf = NULL;
|
||||
cc_body_gradientBuf = NULL;
|
||||
col_body_gradient = false;
|
||||
}
|
||||
|
||||
@@ -73,6 +73,8 @@ CComponents::~CComponents()
|
||||
hide();
|
||||
clearSavedScreen();
|
||||
clearFbData();
|
||||
if (cc_body_gradientBuf)
|
||||
free(cc_body_gradientBuf);
|
||||
}
|
||||
|
||||
void CComponents::clearSavedScreen()
|
||||
|
Reference in New Issue
Block a user