mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
recalculate infobar position after font or screensetup changes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@99 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -96,6 +96,8 @@ int CScreenSetup::exec(CMenuTarget* parent, const std::string &)
|
||||
g_settings.screen_EndX = x_coord[1];
|
||||
g_settings.screen_StartY = y_coord[0];
|
||||
g_settings.screen_EndY = y_coord[1];
|
||||
if (g_Infoviewer) /* recalc infobar position */
|
||||
g_InfoViewer->start();
|
||||
loop = false;
|
||||
break;
|
||||
|
||||
|
@@ -1988,6 +1988,9 @@ void CNeutrinoApp::SetupFonts()
|
||||
g_Font[i] = g_fontRenderer->getFont(font.name, style[neutrino_font[i].style], configfile.getInt32(locale_real_names[neutrino_font[i].name], neutrino_font[i].defaultsize) + neutrino_font[i].size_offset * font.size_offset);
|
||||
}
|
||||
g_SignalFont = g_fontRenderer->getFont(font.name, style[signal_font.style], signal_font.defaultsize + signal_font.size_offset * font.size_offset);
|
||||
/* recalculate infobar position */
|
||||
if (g_InfoViewer)
|
||||
g_InfoViewer->start();
|
||||
}
|
||||
|
||||
/**************************************************************************************
|
||||
|
Reference in New Issue
Block a user