Add default hotkey to swap primary screens.

Also minor style changes
This commit is contained in:
James Rowe 2016-11-05 02:58:11 -06:00
parent 5f72aade77
commit d9305b0a07
10 changed files with 27 additions and 13 deletions

View file

@ -73,7 +73,8 @@ void Config::ReadValues() {
Settings::values.bg_blue = (float)sdl2_config->GetReal("Renderer", "bg_blue", 1.0);
// Layout
Settings::values.layout_option = static_cast<Settings::LayoutOption>(sdl2_config->GetInteger("Layout", "layout_option", 0));
Settings::values.layout_option =
static_cast<Settings::LayoutOption>(sdl2_config->GetInteger("Layout", "layout_option", 0));
Settings::values.swap_screen = sdl2_config->GetBoolean("Layout", "swap_screen", false);
// Audio