From a9012e469902525c5947b686f16c4ad07405308a Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 27 May 2013 21:19:23 +0200 Subject: [PATCH] - bouquetlist: using CComponentsHeader to paint header --- src/gui/bouquetlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index c178c89a1..bb71ec527 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -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()