8 |
#ifndef GIGEDIT_SETTINGS |
#ifndef GIGEDIT_SETTINGS |
9 |
#define GIGEDIT_SETTINGS |
#define GIGEDIT_SETTINGS |
10 |
|
|
11 |
// Probably a bit overkill for only two settings (right now), but I saw |
// Probably a bit overkill for only few settings (right now), but I saw |
12 |
// originnaly no better place to put this, since warnUserOnExtensions needs to |
// originnaly no better place to put this, since warnUserOnExtensions needs to |
13 |
// be accessed without a MainWindow instance. |
// be accessed without a MainWindow instance. |
14 |
struct Settings { |
struct Settings { |
15 |
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 |
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 |
16 |
bool syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit |
bool syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit |
17 |
|
bool moveRootNoteWithRegionMoved; ///< if enabled, the root note(s) of regions are automatically moving when the user drags a region around at the virtual keyboard |
18 |
|
|
19 |
static Settings* singleton(); |
static Settings* singleton(); |
20 |
Settings(); |
Settings(); |
21 |
}; |
}; |