From c2908f353c046ec1fa9b2f9d26dbb475472acbb9 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 27 May 2013 21:19:23 +0200 Subject: [PATCH] bouquetlist: using CComponentsHeader to paint header Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a9012e469902525c5947b686f16c4ad07405308a Author: vanhofen Date: 2013-05-27 (Mon, 27 May 2013) Origin message was: ------------------ - bouquetlist: using CComponentsHeader to paint header ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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()