CMenuWidget: Enable cleanup gradient background for menu hints...

... and for menu headers when save screen is enabled


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



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-26 06:16:42 +01:00
parent 1b538b6cf7
commit a8244f8aa3

View File

@@ -1240,6 +1240,7 @@ void CMenuWidget::paint()
header->setColorShadow(COL_MENUCONTENTDARK_PLUS_0); header->setColorShadow(COL_MENUCONTENTDARK_PLUS_0);
header->setCaptionColor(COL_MENUHEAD_TEXT); header->setCaptionColor(COL_MENUHEAD_TEXT);
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0); header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0);
header->enableGradientBgCleanUp(savescreen);
header->paint(CC_SAVE_SCREEN_NO); header->paint(CC_SAVE_SCREEN_NO);
// paint body shadow // paint body shadow
@@ -1477,6 +1478,7 @@ void CMenuWidget::paintHint(int pos)
info_box->enableShadow(); info_box->enableShadow();
info_box->setPicture(item->hintIcon ? item->hintIcon : ""); info_box->setPicture(item->hintIcon ? item->hintIcon : "");
info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_INFOBAR_SHADOW_PLUS_1, g_settings.theme.menu_Hint_gradient_direction);// COL_INFOBAR_SHADOW_PLUS_1 is default footer color info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_INFOBAR_SHADOW_PLUS_1, g_settings.theme.menu_Hint_gradient_direction);// COL_INFOBAR_SHADOW_PLUS_1 is default footer color
info_box->enableGradientBgCleanUp();
//paint result //paint result
if (details_line) if (details_line)