mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CInfoViewer: use gradient settings for infobar text box too
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2207019bfd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-14 (Thu, 14 Jan 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1998,6 +1998,7 @@ void CInfoViewer::showInfoFile()
|
|||||||
infobar_txt->setTextColor(COL_INFOBAR_TEXT);
|
infobar_txt->setTextColor(COL_INFOBAR_TEXT);
|
||||||
infobar_txt->setColorBody(COL_INFOBAR_PLUS_0);
|
infobar_txt->setColorBody(COL_INFOBAR_PLUS_0);
|
||||||
infobar_txt->doPaintTextBoxBg(false);
|
infobar_txt->doPaintTextBoxBg(false);
|
||||||
|
infobar_txt->enableColBodyGradient(g_settings.theme.infobar_gradient_top, g_settings.theme.infobar_gradient_top ? COL_INFOBAR_PLUS_0 : header->getColorBody(), g_settings.theme.infobar_gradient_top_direction);
|
||||||
|
|
||||||
//paint info, don't save background, if already painted, global hide is also done by killTitle()
|
//paint info, don't save background, if already painted, global hide is also done by killTitle()
|
||||||
bool save_bg = !infobar_txt->isPainted();
|
bool save_bg = !infobar_txt->isPainted();
|
||||||
|
Reference in New Issue
Block a user