mirror of https://github.com/bsnes-emu/bsnes.git
27 lines
453 B
C++
27 lines
453 B
C++
|
namespace hiro {
|
||
|
|
||
|
struct Settings : Configuration::Document {
|
||
|
vector<uint16_t> keycodes;
|
||
|
|
||
|
struct Geometry : Configuration::Node {
|
||
|
signed frameX;
|
||
|
signed frameY;
|
||
|
signed frameWidth;
|
||
|
signed frameHeight;
|
||
|
signed menuHeight;
|
||
|
signed statusHeight;
|
||
|
} geometry;
|
||
|
|
||
|
struct Window : Configuration::Node {
|
||
|
unsigned backgroundColor;
|
||
|
} window;
|
||
|
|
||
|
void load();
|
||
|
void save();
|
||
|
Settings();
|
||
|
};
|
||
|
|
||
|
static Settings* settings = nullptr;
|
||
|
|
||
|
}
|