CComponentsItemBox: use also locales in overloaded methode addText()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c5367bc59
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-04 (Tue, 04 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2012-09-04 09:45:32 +02:00
parent e0ac1d2d8e
commit fdd36a2bec
2 changed files with 6 additions and 0 deletions

View File

@@ -918,6 +918,11 @@ void CComponentsItemBox::addText(const std::string& s_text, const int align, siz
addElement(align, CC_ITEMBOX_TEXT, s_text, index);
}
void CComponentsItemBox::addText(neutrino_locale_t locale_text, const int align, size_t *index)
{
addElement(align, CC_ITEMBOX_TEXT, g_Locale->getText(locale_text), index);
}
void CComponentsItemBox::addIcon(const std::string& s_icon_name, const int align, size_t *index)
{
addElement(align, CC_ITEMBOX_ICON, s_icon_name, index);