GUI: don't sort note keys in settings
until Apply or OK are clicked issue #2345
This commit is contained in:
parent
3464dd17f5
commit
b95f9885a4
2 changed files with 57 additions and 29 deletions
|
|
@ -1602,6 +1602,15 @@ struct PendingDrawOsc {
|
|||
lineSize(0.0f) {}
|
||||
};
|
||||
|
||||
struct MappedInput {
|
||||
int scan;
|
||||
int val;
|
||||
MappedInput():
|
||||
scan(SDL_SCANCODE_UNKNOWN), val(0) {}
|
||||
MappedInput(int s, int v):
|
||||
scan(s), val(v) {}
|
||||
};
|
||||
|
||||
struct FurnaceCV;
|
||||
|
||||
class FurnaceGUI {
|
||||
|
|
@ -2450,6 +2459,7 @@ class FurnaceGUI {
|
|||
|
||||
// SDL_Scancode,int
|
||||
std::map<int,int> noteKeys;
|
||||
std::vector<MappedInput> noteKeysRaw;
|
||||
// SDL_Keycode,int
|
||||
std::map<int,int> valueKeys;
|
||||
|
||||
|
|
@ -3037,6 +3047,8 @@ class FurnaceGUI {
|
|||
bool parseSysEx(unsigned char* data, size_t len);
|
||||
|
||||
void applyUISettings(bool updateFonts=true);
|
||||
void decompileNoteKeys();
|
||||
void compileNoteKeys();
|
||||
void initSystemPresets();
|
||||
|
||||
void initRandomDemoSong();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue