diff options
| author | 2019-09-22 16:42:00 +0200 | |
|---|---|---|
| committer | 2019-09-22 16:42:00 +0200 | |
| commit | 855e7237ff68add93de16ecb53857e9c5d6e7ff8 (patch) | |
| tree | 0397e1e337f56de4209f108a419b3c8ef2f6e10c /src | |
| parent | Merge pull request #2884 from ogniK5377/deglobal-sys-services (diff) | |
| download | yuzu-855e7237ff68add93de16ecb53857e9c5d6e7ff8.tar.gz yuzu-855e7237ff68add93de16ecb53857e9c5d6e7ff8.tar.xz yuzu-855e7237ff68add93de16ecb53857e9c5d6e7ff8.zip | |
qt_themes: add two colorful themes
These two colorful themes are based on the Default and Dark themes, and contain icons that are colored rather than black and white. These icons come from icons8.com and they have been slightly revised by me. I'm pretty sure I was licensed to use them for Citra.
Co-Authored-By: Pengfei Zhu <zhupengfei321@sina.cn>
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/uisettings.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/uisettings.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/uisettings.cpp b/src/yuzu/uisettings.cpp index 7f7d247a3..43bad9678 100644 --- a/src/yuzu/uisettings.cpp +++ b/src/yuzu/uisettings.cpp | |||
| @@ -9,6 +9,8 @@ namespace UISettings { | |||
| 9 | const Themes themes{{ | 9 | const Themes themes{{ |
| 10 | {"Default", "default"}, | 10 | {"Default", "default"}, |
| 11 | {"Dark", "qdarkstyle"}, | 11 | {"Dark", "qdarkstyle"}, |
| 12 | {"Colorful", "colorful"}, | ||
| 13 | {"Colorful Dark", "colorful_dark"}, | ||
| 12 | }}; | 14 | }}; |
| 13 | 15 | ||
| 14 | Values values = {}; | 16 | Values values = {}; |
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index c57290006..a8eaf5f8c 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h | |||
| @@ -24,7 +24,7 @@ struct Shortcut { | |||
| 24 | ContextualShortcut shortcut; | 24 | ContextualShortcut shortcut; |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | using Themes = std::array<std::pair<const char*, const char*>, 2>; | 27 | using Themes = std::array<std::pair<const char*, const char*>, 4>; |
| 28 | extern const Themes themes; | 28 | extern const Themes themes; |
| 29 | 29 | ||
| 30 | struct GameDir { | 30 | struct GameDir { |