mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +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:
@@ -173,7 +173,7 @@ void CColorSetupNotifier::setPalette()
|
||||
convertSetupColor2RGB(t.infobar_Text_red, t.infobar_Text_green, t.infobar_Text_blue),
|
||||
8, convertSetupAlpha2Alpha(t.infobar_alpha) );
|
||||
|
||||
frameBuffer->paletteGenFade(COL_INFOBAR_SHADOW,
|
||||
frameBuffer->paletteGenFade(COL_SHADOW,
|
||||
convertSetupColor2RGB(int(t.infobar_red*0.4), int(t.infobar_green*0.4), int(t.infobar_blue*0.4)),
|
||||
convertSetupColor2RGB(t.infobar_Text_red, t.infobar_Text_green, t.infobar_Text_blue),
|
||||
8, convertSetupAlpha2Alpha(t.infobar_alpha) );
|
||||
@@ -204,7 +204,7 @@ void CColorSetupNotifier::setPalette()
|
||||
convertSetupColor2RGB(t.infobar_Text_red, t.infobar_Text_green, t.infobar_Text_blue),
|
||||
convertSetupAlpha2Alpha(t.infobar_alpha));
|
||||
|
||||
// COL_INFOBAR_SHADOW_TEXT
|
||||
// COL_MENUFOOT_TEXT
|
||||
frameBuffer->paletteSetColor(COL_NEUTRINO_TEXT + 2,
|
||||
convertSetupColor2RGB(int(t.infobar_Text_red*0.6), int(t.infobar_Text_green*0.6), int(t.infobar_Text_blue*0.6)),
|
||||
convertSetupAlpha2Alpha(t.infobar_alpha));
|
||||
|
Reference in New Issue
Block a user