36 |
* All settings are grouped into these settings groups. |
* All settings are grouped into these settings groups. |
37 |
*/ |
*/ |
38 |
enum Group_t { |
enum Group_t { |
39 |
GLOBAL |
GLOBAL, |
40 |
|
MAIN_WINDOW, |
41 |
|
SCRIPT_EDITOR, |
42 |
}; |
}; |
43 |
|
|
44 |
/** |
/** |
110 |
Group_t m_group; |
Group_t m_group; |
111 |
}; |
}; |
112 |
|
|
113 |
|
// settings of "Global" group |
114 |
Property<bool> warnUserOnExtensions; ///< if enabled, the user shall he be warned if he is trying to use a gig format extension that will not work with Gigasampler/GigaStudio |
Property<bool> warnUserOnExtensions; ///< if enabled, the user shall he be warned if he is trying to use a gig format extension that will not work with Gigasampler/GigaStudio |
115 |
Property<bool> syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit |
Property<bool> syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit |
116 |
Property<bool> moveRootNoteWithRegionMoved; ///< if enabled, the root note(s) of regions are automatically moving when the user drags a region around at the virtual keyboard |
Property<bool> moveRootNoteWithRegionMoved; ///< if enabled, the root note(s) of regions are automatically moving when the user drags a region around at the virtual keyboard |
117 |
|
|
118 |
|
// settings of "MainWindow" group |
119 |
|
Property<int> mainWindowX; |
120 |
|
Property<int> mainWindowY; |
121 |
|
Property<int> mainWindowW; |
122 |
|
Property<int> mainWindowH; |
123 |
|
|
124 |
|
// settings of "ScriptEditor" group |
125 |
|
Property<int> scriptEditorWindowX; |
126 |
|
Property<int> scriptEditorWindowY; |
127 |
|
Property<int> scriptEditorWindowW; |
128 |
|
Property<int> scriptEditorWindowH; |
129 |
|
|
130 |
static Settings* singleton(); |
static Settings* singleton(); |
131 |
Settings(); |
Settings(); |
132 |
void load(); |
void load(); |