2015-03-03 10:14:49 +00:00
|
|
|
struct ConfigurationManager : Configuration::Document {
|
|
|
|
ConfigurationManager();
|
|
|
|
auto quit() -> void;
|
|
|
|
|
2015-04-13 11:16:33 +00:00
|
|
|
struct UserInterface : Configuration::Node {
|
|
|
|
bool showStatusBar = true;
|
|
|
|
} userInterface;
|
|
|
|
|
2015-04-21 11:51:57 +00:00
|
|
|
struct Library : Configuration::Node {
|
|
|
|
string location;
|
|
|
|
} library;
|
|
|
|
|
2015-03-03 10:14:49 +00:00
|
|
|
struct Video : Configuration::Node {
|
|
|
|
string driver;
|
|
|
|
bool synchronize = false;
|
|
|
|
string scale = "Normal";
|
|
|
|
bool aspectCorrection = true;
|
Update to v094r13 release.
byuu says:
This version polishes up the input dialogue (reset, erase, disable
button when item not focused, split device ID from mapping name), adds
color emulation toggle, and add dummy menu items for remaining features
(to be filled in later.)
Also, it now compiles cleanly on Windows with GTK.
I didn't test with TDM-GCC-32, because for god knows what reason, the
32-bit version ships with headers from Windows 95 OSR2 only. So I built
with TDM-GCC-64 with arch=x86.
And uh, apparently, moving or resizing a window causes a Visual C++
runtime exception in the GTK+ DLLs. This doesn't happen with trance or
renshuu built with TDM-GCC-32. So, yeah, like I said, don't use -m32.
2015-03-07 10:21:47 +00:00
|
|
|
string filter = "Blur";
|
|
|
|
bool colorEmulation = true;
|
2015-03-03 10:14:49 +00:00
|
|
|
} video;
|
|
|
|
|
|
|
|
struct Audio : Configuration::Node {
|
|
|
|
string driver;
|
|
|
|
bool synchronize = true;
|
|
|
|
bool mute = false;
|
|
|
|
} audio;
|
|
|
|
|
|
|
|
struct Input : Configuration::Node {
|
|
|
|
string driver;
|
|
|
|
} input;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern ConfigurationManager* configurationManager;
|
|
|
|
auto config() -> ConfigurationManager&;
|