mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +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:
@@ -932,7 +932,7 @@ void CMenuWidget::paint()
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8 /*, nameString.c_str()*/);
|
||||
|
||||
// paint head
|
||||
CComponentsHeader header(x, y, width + sb_width, hheight, nameString, iconfile.c_str());
|
||||
CComponentsHeader header(x, y, width + sb_width, hheight, nameString, iconfile);
|
||||
header.setShadowOnOff(CC_SHADOW_ON);
|
||||
header.setOffset(10);
|
||||
header.paint(CC_SAVE_SCREEN_NO);
|
||||
|
Reference in New Issue
Block a user