mirror of
https://github.com/glest/glest-source.git
synced 2025-10-04 03:11:53 +02:00
- completed screen UI work. F11 will save current menu UI config to ini file, F5 will cause a reload of INI realtime
This commit is contained in:
@@ -357,6 +357,10 @@ void MainWindow::eventKeyDown(char key){
|
||||
bool showDebugUI = renderer.getShowDebugUI();
|
||||
renderer.setShowDebugUI(!showDebugUI);
|
||||
}
|
||||
else if(key == configKeys.getCharKey("ReloadINI")) {
|
||||
Config &config = Config::getInstance();
|
||||
config.reload();
|
||||
}
|
||||
}
|
||||
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
|
Reference in New Issue
Block a user