From 9c75cab7ae756818dd2d5f7775f01ec6035e29a5 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 4 May 2015 08:56:01 +0200 Subject: [PATCH] menue: small color changes for a smoother view Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3ece820b0784dcbcacdbd298b4133d0f99124e09 Author: vanhofen Date: 2015-05-04 (Mon, 04 May 2015) Origin message was: ------------------ - menue: small color changes for a smoother view ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/menue.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 1303269f1..3e87fbd9e 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1304,6 +1304,7 @@ void CMenuWidget::paintHint(int pos) return; info_box->enableGradient(g_settings.theme.menu_Hint_gradient != 0); + info_box->set2ndColor(COL_INFOBAR_SHADOW_PLUS_1); // COL_INFOBAR_SHADOW_PLUS_1 is default footer color info_box->setColorBody(COL_MENUCONTENT_PLUS_0); if (hint_painted) { @@ -2174,7 +2175,7 @@ int CMenuSeparator::paint(bool selected) if ((type & SUB_HEAD)) { item_color = COL_MENUHEAD_TEXT; - item_bgcolor = COL_MENUHEAD_PLUS_0; + item_bgcolor = g_settings.theme.menu_Head_gradient ? COL_MENUCONTENT_PLUS_0 : COL_MENUHEAD_PLUS_0; } else {