mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsHeader: rework constructors, add CComponentsHeaderLocalized
Member initVarHeader() now used with parameters, so it's possible to remove multiple code in constructors, but some class must be renamed to CComponentsHeaderLocalized.
This commit is contained in:
@@ -2118,7 +2118,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
|
||||
void CChannelList::paintHead()
|
||||
{
|
||||
CComponentsHeader header(x, y, full_width, theight, name, NULL /*no header icon*/);
|
||||
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
|
||||
header.paint(CC_SAVE_SCREEN_NO);
|
||||
|
||||
if (g_Sectionsd->getIsTimeSet()) {
|
||||
|
Reference in New Issue
Block a user