From c6c9a104a945e8f8c9da73e8f9f87323c6e80923 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 27 Apr 2015 09:55:14 +0200 Subject: [PATCH] CMenueWidget: add color gradient to menue hints Signed-off-by: Thilo Graf Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8a41089a92a7f89245ed41a1e05480747a9015a0 Author: [CST] Focus Date: 2015-04-27 (Mon, 27 Apr 2015) ------------------ This commit was generated by Migit --- src/gui/widget/menue.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index c6e0991c9..7759dfb41 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1302,6 +1302,9 @@ void CMenuWidget::paintHint(int pos) if (pos < 0 && !hint_painted) return; + + info_box->enableGradient(g_settings.gradiant != 0); //TODO: manage via themes + info_box->setColorBody(COL_MENUCONTENT_PLUS_0); if (hint_painted) { /* clear detailsline line */