summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/ui_settings.h
diff options
context:
space:
mode:
authorLittleWhite <lw.demoscene@googlemail.com>2016-01-24 21:23:55 +0100
committerLittleWhite <lw.demoscene@googlemail.com>2016-03-21 20:03:18 +0100
commite33b9385054169c2850717e9c969a2531ee9b6f2 (patch)
tree49d08683e3c45df030f939f2746d9c75b46e2cf9 /src/citra_qt/ui_settings.h
parentAdd Configure widget (diff)
downloadyuzu-e33b9385054169c2850717e9c969a2531ee9b6f2.tar
yuzu-e33b9385054169c2850717e9c969a2531ee9b6f2.tar.gz
yuzu-e33b9385054169c2850717e9c969a2531ee9b6f2.tar.bz2
yuzu-e33b9385054169c2850717e9c969a2531ee9b6f2.tar.lz
yuzu-e33b9385054169c2850717e9c969a2531ee9b6f2.tar.xz
yuzu-e33b9385054169c2850717e9c969a2531ee9b6f2.tar.zst
yuzu-e33b9385054169c2850717e9c969a2531ee9b6f2.zip
Diffstat (limited to 'src/citra_qt/ui_settings.h')
-rw-r--r--src/citra_qt/ui_settings.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/citra_qt/ui_settings.h b/src/citra_qt/ui_settings.h
index f0afbf2d3..729866d56 100644
--- a/src/citra_qt/ui_settings.h
+++ b/src/citra_qt/ui_settings.h
@@ -5,10 +5,42 @@
#ifndef UISETTINGS_H
#define UISETTINGS_H
+#include <QByteArray>
+#include <QStringList>
+#include <QString>
+
+#include <vector>
+
namespace UISettings {
+ typedef std::pair<QString, int> ContextedShortcut;
+ typedef std::pair<QString, ContextedShortcut> Shortcut;
+
struct Values {
+ QByteArray geometry;
+ QByteArray state;
+
+ QByteArray renderwindow_geometry;
+
+ QByteArray gamelist_header_state;
+
+ QByteArray microprofile_geometry;
+ bool microprofile_visible;
+
+ bool single_window_mode;
+ bool display_titlebar;
+
bool check_closure;
+ bool first_start;
+
+ QString roms_path;
+ QString symbols_path;
+ QString gamedir_path;
+ bool gamedir_deepscan;
+ QStringList recent_files;
+
+ // Shortcut name <Shortcut, context>
+ std::vector<Shortcut> shortcuts;
} extern values;
}