diff options
| author | 2017-02-01 00:22:47 -0800 | |
|---|---|---|
| committer | 2017-02-23 10:49:56 -0800 | |
| commit | e0a4450bbd40d69d288023ab5a95eaa0b00100fd (patch) | |
| tree | 288cacc8a345cea50d8c6a25c17e4ebbb1ec41d9 /src/core/settings.h | |
| parent | Merge pull request #2485 from Kloen/killing-warnings-computehash64 (diff) | |
| download | yuzu-e0a4450bbd40d69d288023ab5a95eaa0b00100fd.tar.gz yuzu-e0a4450bbd40d69d288023ab5a95eaa0b00100fd.tar.xz yuzu-e0a4450bbd40d69d288023ab5a95eaa0b00100fd.zip | |
Add custom layout settings.
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index e22ce0f16..52cebc627 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -14,7 +14,6 @@ enum class LayoutOption { | |||
| 14 | Default, | 14 | Default, |
| 15 | SingleScreen, | 15 | SingleScreen, |
| 16 | LargeScreen, | 16 | LargeScreen, |
| 17 | Custom, | ||
| 18 | }; | 17 | }; |
| 19 | 18 | ||
| 20 | namespace NativeInput { | 19 | namespace NativeInput { |
| @@ -94,6 +93,15 @@ struct Values { | |||
| 94 | 93 | ||
| 95 | LayoutOption layout_option; | 94 | LayoutOption layout_option; |
| 96 | bool swap_screen; | 95 | bool swap_screen; |
| 96 | bool custom_layout; | ||
| 97 | u16 custom_top_left; | ||
| 98 | u16 custom_top_top; | ||
| 99 | u16 custom_top_right; | ||
| 100 | u16 custom_top_bottom; | ||
| 101 | u16 custom_bottom_left; | ||
| 102 | u16 custom_bottom_top; | ||
| 103 | u16 custom_bottom_right; | ||
| 104 | u16 custom_bottom_bottom; | ||
| 97 | 105 | ||
| 98 | float bg_red; | 106 | float bg_red; |
| 99 | float bg_green; | 107 | float bg_green; |