mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- bouquetlist: using CComponentsHeader to paint header
This commit is contained in:
@@ -574,8 +574,8 @@ void CBouquetList::paintItem(int pos)
|
|||||||
|
|
||||||
void CBouquetList::paintHead()
|
void CBouquetList::paintHead()
|
||||||
{
|
{
|
||||||
frameBuffer->paintBoxRel(x,y, width,theight+0, COL_MENUHEAD_PLUS_0, RADIUS_LARGE, CORNER_TOP);
|
CComponentsHeader header(x, y, width, theight, name, NULL /*no header icon*/);
|
||||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->RenderString(x+10,y+theight+0, width, name, COL_MENUHEAD, 0, true); // UTF-8
|
header.paint();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CBouquetList::paint()
|
void CBouquetList::paint()
|
||||||
|
Reference in New Issue
Block a user