mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
CComponents: add setColBodyGradient() to set gradient properties
This provides possibility to set relevant gradiant properties in cc sub classes
Origin commit data
------------------
Branch: ni/coolstream
Commit: f9147d185a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
------------------
This commit was generated by Migit
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