mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
colors: some internal renamings
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name
This is in preparation to make footer colors configurable
Origin commit data
------------------
Branch: ni/coolstream
Commit: bc39d1e14e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-14 (Sun, 14 Aug 2016)
Origin message was:
------------------
- colors: some internal renamings
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name
This is in preparation to make footer colors configurable
------------------
This commit was generated by Migit
This commit is contained in:
@@ -189,7 +189,7 @@ void CImageInfo::ShowWindow()
|
||||
fb_pixel_t btn_col = /*g_settings.theme.Button_gradient ? COL_BUTTON_BODY :*/ footer->getColorBody(); //TODO: Button_gradient option
|
||||
btn_red = new CComponentsButtonRed(10, CC_CENTERED, 250, h_footer-h_footer/4, LOCALE_BUILDINFO_MENU, footer, false , true, false, footer->getColorBody(), btn_col);
|
||||
btn_red->doPaintBg(false);
|
||||
btn_red->setButtonTextColor(COL_INFOBAR_SHADOW_TEXT);
|
||||
btn_red->setButtonTextColor(COL_MENUFOOT_TEXT);
|
||||
btn_red->setColBodyGradient(CC_COLGRAD_OFF);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user