- bouquetlist: using CComponentsHeader to paint header

This commit is contained in:
svenhoefer
2013-05-27 21:19:23 +02:00
parent 66e61d433d
commit a9012e4699

View File

@@ -574,8 +574,8 @@ void CBouquetList::paintItem(int pos)
void CBouquetList::paintHead()
{
frameBuffer->paintBoxRel(x,y, width,theight+0, COL_MENUHEAD_PLUS_0, RADIUS_LARGE, CORNER_TOP);
g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->RenderString(x+10,y+theight+0, width, name, COL_MENUHEAD, 0, true); // UTF-8
CComponentsHeader header(x, y, width, theight, name, NULL /*no header icon*/);
header.paint();
}
void CBouquetList::paint()