mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +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.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5ea7ec48df
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-18 (Sat, 18 Jan 2014)
Origin message was:
------------------
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 was generated by Migit
This commit is contained in:
@@ -306,7 +306,7 @@ void CPluginList::paintHead()
|
||||
if (listmaxshow < pluginlist.size())
|
||||
h_width += 15;
|
||||
|
||||
CComponentsHeader header(x, y, h_width, theight, name, NULL /* no header icon */);
|
||||
CComponentsHeaderLocalized header(x, y, h_width, theight, name);
|
||||
|
||||
if (pluginlisttype == CPlugins::P_TYPE_GAME)
|
||||
header.setIcon(NEUTRINO_ICON_GAMES);
|
||||
|
Reference in New Issue
Block a user