mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values
Origin commit data
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
This commit is contained in:
@@ -266,12 +266,12 @@ void CPluginList::paintItem(int pos)
|
||||
int ypos = (y+theight) + pos*fheight;
|
||||
int itemheight = fheight;
|
||||
|
||||
uint8_t color = COL_MENUCONTENT;
|
||||
fb_pixel_t color = COL_MENUCONTENT_TEXT;
|
||||
fb_pixel_t bgcolor = COL_MENUCONTENT_PLUS_0;
|
||||
|
||||
if (liststart+pos==selected)
|
||||
{
|
||||
color = COL_MENUCONTENTSELECTED;
|
||||
color = COL_MENUCONTENTSELECTED_TEXT;
|
||||
bgcolor = COL_MENUCONTENTSELECTED_PLUS_0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user