mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] cosmetics
This commit is contained in:
parent
4fb9fc3b3f
commit
a2216e4b68
@ -1107,15 +1107,15 @@ static bool load_config(const char * configFile)
|
||||
}
|
||||
}
|
||||
|
||||
if (config_setting_lookup_bool (global, "scaleMouseInput", &itmp)) params.scaleMouseInput = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "hideMouse" , &itmp)) params.hideMouse = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "showFPS" , &itmp)) params.showFPS = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "autoResize" , &itmp)) params.autoResize = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "allowResize" , &itmp)) params.allowResize = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "keepAspect" , &itmp)) params.keepAspect = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "borderless" , &itmp)) params.borderless = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "fullScreen" , &itmp)) params.fullscreen = (itmp != 0);
|
||||
if (config_setting_lookup_bool (global, "ignoreQuit" , &itmp)) params.ignoreQuit = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "scaleMouseInput", &itmp)) params.scaleMouseInput = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "hideMouse" , &itmp)) params.hideMouse = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "showFPS" , &itmp)) params.showFPS = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "autoResize" , &itmp)) params.autoResize = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "allowResize" , &itmp)) params.allowResize = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "keepAspect" , &itmp)) params.keepAspect = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "borderless" , &itmp)) params.borderless = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "fullScreen" , &itmp)) params.fullscreen = (itmp != 0);
|
||||
if (config_setting_lookup_bool(global, "ignoreQuit" , &itmp)) params.ignoreQuit = (itmp != 0);
|
||||
|
||||
if (config_setting_lookup_int(global, "x", ¶ms.x)) params.center = false;
|
||||
if (config_setting_lookup_int(global, "y", ¶ms.y)) params.center = false;
|
||||
|
Loading…
Reference in New Issue
Block a user