Enable gradient for header CColorChooser

- Supplement to commit baf7ffea36


Origin commit data
------------------
Commit: 8765b94037
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-11-10 (Mon, 10 Nov 2014)
This commit is contained in:
Michael Liebmann
2014-11-10 06:04:33 +01:00
parent d1710ce269
commit 041c10224c

View File

@@ -245,10 +245,9 @@ void CColorChooser::hide()
void CColorChooser::paint()
{
//frameBuffer->paintBoxRel(x,y, width,hheight, COL_MENUHEAD_PLUS_0);
frameBuffer->paintBoxRel(x,y, width,hheight, COL_MENUHEAD_PLUS_0, RADIUS_MID, CORNER_TOP); //round
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);
CComponentsHeader header(x, y, width, hheight, g_Locale->getText(name));
header.paint(CC_SAVE_SCREEN_NO);
frameBuffer->paintBoxRel(x,y+hheight, width,height-hheight, COL_MENUCONTENT_PLUS_0, RADIUS_MID, CORNER_BOTTOM);//round
for (int i = 0; i < 4; i++)