Add more stuff to configure.
This commit is contained in:
parent
e33b938505
commit
3eb737a5f5
15 changed files with 211 additions and 120 deletions
|
@ -2,8 +2,7 @@
|
|||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef UISETTINGS_H
|
||||
#define UISETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QStringList>
|
||||
|
@ -13,8 +12,8 @@
|
|||
|
||||
namespace UISettings {
|
||||
|
||||
typedef std::pair<QString, int> ContextedShortcut;
|
||||
typedef std::pair<QString, ContextedShortcut> Shortcut;
|
||||
using ContextualShortcut = std::pair<QString, int> ;
|
||||
using Shortcut = std::pair<QString, ContextualShortcut>;
|
||||
|
||||
struct Values {
|
||||
QByteArray geometry;
|
||||
|
@ -30,19 +29,19 @@ struct Values {
|
|||
bool single_window_mode;
|
||||
bool display_titlebar;
|
||||
|
||||
bool check_closure;
|
||||
bool confirm_before_closing;
|
||||
bool first_start;
|
||||
|
||||
QString roms_path;
|
||||
QString symbols_path;
|
||||
QString gamedir_path;
|
||||
QString gamedir;
|
||||
bool gamedir_deepscan;
|
||||
QStringList recent_files;
|
||||
|
||||
// Shortcut name <Shortcut, context>
|
||||
std::vector<Shortcut> shortcuts;
|
||||
} extern values;
|
||||
};
|
||||
|
||||
extern Values values;
|
||||
|
||||
}
|
||||
|
||||
#endif // UISETTINGS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue