From d32b5f31a670ff1ca47e4a59463971b6ce1d0496 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 3 Jan 2015 19:15:18 +0100 Subject: [PATCH] Revert "gui/components/cc_item_infobox.cpp: enable gradient on request" This reverts commit 351ddd4a132205349cb3904018aff4da94498b7f. Gradient features are intended for theme related implementations. It's not ripe at the moment. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/18bc87592bb6277f124fdc0f15f08c77c07e2b97 Author: Thilo Graf Date: 2015-01-03 (Sat, 03 Jan 2015) ------------------ This commit was generated by Migit --- src/gui/components/cc_item_infobox.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/components/cc_item_infobox.cpp b/src/gui/components/cc_item_infobox.cpp index c197ea45d..25ecbe9c4 100644 --- a/src/gui/components/cc_item_infobox.cpp +++ b/src/gui/components/cc_item_infobox.cpp @@ -113,8 +113,6 @@ void CComponentsInfoBox::paintPicture() pic->setHeight(height-2*fr_thickness); pic->setColorBody(col_body); - if (col_body_gradient) - pic->doPaintBg(false); //paint, but set visibility mode pic->allowPaint(cc_allow_paint); pic->paint(CC_SAVE_SCREEN_NO); @@ -122,8 +120,6 @@ void CComponentsInfoBox::paintPicture() void CComponentsInfoBox::paint(bool do_save_bg) { - col_body_gradient = g_settings.gradiant; - paintInit(do_save_bg); paintPicture();