Enable gradient for header CColorChooser

- Supplement to commit 12b2b06cfa


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8765b94037
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-11-10 (Mon, 10 Nov 2014)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-11-10 06:04:33 +01:00
parent c1a73c90b1
commit a8779c47fb

View File

@@ -245,10 +245,9 @@ void CColorChooser::hide()
void CColorChooser::paint() void CColorChooser::paint()
{ {
//frameBuffer->paintBoxRel(x,y, width,hheight, COL_MENUHEAD_PLUS_0); CComponentsHeader header(x, y, width, hheight, g_Locale->getText(name));
frameBuffer->paintBoxRel(x,y, width,hheight, COL_MENUHEAD_PLUS_0, RADIUS_MID, CORNER_TOP); //round header.paint(CC_SAVE_SCREEN_NO);
g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->RenderString(x+10,y+hheight, width, g_Locale->getText(name), COL_MENUHEAD_TEXT);
//frameBuffer->paintBoxRel(x,y+hheight, width,height-hheight, COL_MENUCONTENT_PLUS_0);
frameBuffer->paintBoxRel(x,y+hheight, width,height-hheight, COL_MENUCONTENT_PLUS_0, RADIUS_MID, CORNER_BOTTOM);//round frameBuffer->paintBoxRel(x,y+hheight, width,height-hheight, COL_MENUCONTENT_PLUS_0, RADIUS_MID, CORNER_BOTTOM);//round
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)