Full lcd/crt presets, for testing

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@522 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-03-21 15:01:13 +00:00
parent b954a264fb
commit 44ea2e67f8
6 changed files with 82 additions and 20 deletions

View File

@@ -110,6 +110,17 @@ 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_settings.screen_preset) {
g_settings.screen_StartX_lcd = g_settings.screen_StartX;
g_settings.screen_StartY_lcd = g_settings.screen_StartY;
g_settings.screen_EndX_lcd = g_settings.screen_EndX;
g_settings.screen_EndY_lcd = g_settings.screen_EndY;
} else {
g_settings.screen_StartX_crt = g_settings.screen_StartX;
g_settings.screen_StartY_crt = g_settings.screen_StartY;
g_settings.screen_EndX_crt = g_settings.screen_EndX;
g_settings.screen_EndY_crt = g_settings.screen_EndY;
}
if (g_InfoViewer) /* recalc infobar position */
g_InfoViewer->start();
loop = false;