mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
CHintBox: add overloaded version of setMsgText() with locale parameter
Origin commit data
------------------
Commit: c60accaeae
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-04 (Wed, 04 Jan 2017)
This commit is contained in:
@@ -330,6 +330,11 @@ void CHintBox::setMsgText(const std::string& Text, const uint& hint_id, const in
|
||||
obj_text->setText(Text, mode, font, color_text, style);
|
||||
}
|
||||
|
||||
void CHintBox::setMsgText(const neutrino_locale_t& locale, const uint& hint_id, const int& mode, Font* font_text, const fb_pixel_t& color_text, const int& style)
|
||||
{
|
||||
setMsgText(g_Locale->getText(locale), hint_id, mode, font_text, color_text, style);
|
||||
}
|
||||
|
||||
void CHintBox::ReSize()
|
||||
{
|
||||
int h = (ccw_head ? ccw_head->getHeight() : 0);
|
||||
|
Reference in New Issue
Block a user