mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CMenueWidget: add color gradient to menue hints
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8a41089a92
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-04-27 (Mon, 27 Apr 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1302,6 +1302,9 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
|
|
||||||
if (pos < 0 && !hint_painted)
|
if (pos < 0 && !hint_painted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
info_box->enableGradient(g_settings.gradiant != 0); //TODO: manage via themes
|
||||||
|
info_box->setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||||
|
|
||||||
if (hint_painted) {
|
if (hint_painted) {
|
||||||
/* clear detailsline line */
|
/* clear detailsline line */
|
||||||
|
Reference in New Issue
Block a user