mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- adapt ShowHint handling from martii's neutrino-mp
This commit is contained in:
@@ -1078,7 +1078,7 @@ void CInfoViewer::showSubchan ()
|
||||
|
||||
void CInfoViewer::showFailure ()
|
||||
{
|
||||
ShowHintUTF (LOCALE_MESSAGEBOX_ERROR, g_Locale->getText (LOCALE_INFOVIEWER_NOTAVAILABLE), 430); // UTF-8
|
||||
ShowHint (LOCALE_MESSAGEBOX_ERROR, g_Locale->getText (LOCALE_INFOVIEWER_NOTAVAILABLE), 430); // UTF-8
|
||||
}
|
||||
|
||||
void CInfoViewer::showMotorMoving (int duration)
|
||||
@@ -1087,7 +1087,7 @@ void CInfoViewer::showMotorMoving (int duration)
|
||||
|
||||
char text[256];
|
||||
snprintf(text, sizeof(text), "%s (%ds)", g_Locale->getText (LOCALE_INFOVIEWER_MOTOR_MOVING), duration);
|
||||
ShowHintUTF (LOCALE_MESSAGEBOX_INFO, text, g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth (text, true) + 10, duration); // UTF-8
|
||||
ShowHint (LOCALE_MESSAGEBOX_INFO, text, g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth (text, true) + 10, duration); // UTF-8
|
||||
}
|
||||
|
||||
void CInfoViewer::killRadiotext()
|
||||
|
Reference in New Issue
Block a user