CCDraw: Set cc_gradient_bg_cleanup to true

Except menu headers: Disable cleanup when save screen is disabled


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6c72fe94bc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-29 (Fri, 29 Jan 2016)

Origin message was:
------------------
CCDraw: Set cc_gradient_bg_cleanup to true

 Except menu headers: Disable cleanup when save screen is disabled


------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-29 10:13:52 +01:00
parent 0598782eda
commit 8372065c10
7 changed files with 1 additions and 8 deletions

View File

@@ -422,7 +422,6 @@ void CInfoViewer::paintHead()
header->setColorBody(g_settings.theme.infobar_gradient_top ? COL_MENUHEAD_PLUS_0 : COL_INFOBAR_PLUS_0);
header->enableColBodyGradient(g_settings.theme.infobar_gradient_top, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_top_direction);
clock->setColorBody(header->getColorBody());
header->enableGradientBgCleanUp();
header->paint(CC_SAVE_SCREEN_NO);
header_height = header->getHeight();
@@ -458,7 +457,6 @@ void CInfoViewer::paintBody()
body->setColorBody(g_settings.theme.infobar_gradient_body ? COL_MENUHEAD_PLUS_0 : COL_INFOBAR_PLUS_0);
body->enableColBodyGradient(g_settings.theme.infobar_gradient_body, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_body_direction);
body->enableGradientBgCleanUp();
body->paint(CC_SAVE_SCREEN_NO);
}