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:
seife
2009-12-20 21:30:29 +00:00
parent 115ba99f2e
commit a45f371636
2 changed files with 5 additions and 0 deletions

View File

@@ -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;

View File

@@ -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();
}
/**************************************************************************************