mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
Revert "gui/components/cc_item_infobox.cpp: enable gradient on request"
This reverts commit351ddd4a13
. Gradient features are intended for theme related implementations. It's not ripe at the moment. Origin commit data ------------------ Branch: ni/coolstream Commit:18bc87592b
Author: Thilo Graf <dbt@novatux.de> Date: 2015-01-03 (Sat, 03 Jan 2015) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -113,8 +113,6 @@ void CComponentsInfoBox::paintPicture()
|
|||||||
pic->setHeight(height-2*fr_thickness);
|
pic->setHeight(height-2*fr_thickness);
|
||||||
pic->setColorBody(col_body);
|
pic->setColorBody(col_body);
|
||||||
|
|
||||||
if (col_body_gradient)
|
|
||||||
pic->doPaintBg(false);
|
|
||||||
//paint, but set visibility mode
|
//paint, but set visibility mode
|
||||||
pic->allowPaint(cc_allow_paint);
|
pic->allowPaint(cc_allow_paint);
|
||||||
pic->paint(CC_SAVE_SCREEN_NO);
|
pic->paint(CC_SAVE_SCREEN_NO);
|
||||||
@@ -122,8 +120,6 @@ void CComponentsInfoBox::paintPicture()
|
|||||||
|
|
||||||
void CComponentsInfoBox::paint(bool do_save_bg)
|
void CComponentsInfoBox::paint(bool do_save_bg)
|
||||||
{
|
{
|
||||||
col_body_gradient = g_settings.gradiant;
|
|
||||||
|
|
||||||
paintInit(do_save_bg);
|
paintInit(do_save_bg);
|
||||||
paintPicture();
|
paintPicture();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user