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:
2014-09-20 21:35:02 +02:00
committed by [CST] Focus
parent 9e173b0c7e
commit 3385c662f3
6 changed files with 28 additions and 10 deletions

View File

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