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

... and for menu headers when save screen is enabled
This commit is contained in:
M. Liebmann
2016-01-26 06:16:42 +01:00
parent 063ccbb622
commit ef9246d892

View File

@@ -1240,6 +1240,7 @@ void CMenuWidget::paint()
header->setColorShadow(COL_MENUCONTENTDARK_PLUS_0);
header->setCaptionColor(COL_MENUHEAD_TEXT);
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0);
header->enableGradientBgCleanUp(savescreen);
header->paint(CC_SAVE_SCREEN_NO);
// paint body shadow
@@ -1477,6 +1478,7 @@ void CMenuWidget::paintHint(int pos)
info_box->enableShadow();
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->enableGradientBgCleanUp();
//paint result
if (details_line)