GUI: simplify keybind load/save code
as of now action definitions are in guiConst.cpp.
This commit is contained in:
parent
7f51f0f246
commit
1054f92029
5 changed files with 247 additions and 565 deletions
|
|
@ -19,6 +19,14 @@
|
|||
|
||||
// guiConst: constants used in the GUI like arrays, strings and other stuff
|
||||
|
||||
struct FurnaceGUIActionDef {
|
||||
const char* name;
|
||||
const char* friendlyName;
|
||||
int defaultBind;
|
||||
FurnaceGUIActionDef(const char* n, const char* fn, int db):
|
||||
name(n), friendlyName(fn), defaultBind(db) {}
|
||||
};
|
||||
|
||||
extern const int opOrder[4];
|
||||
extern const char* noteNames[180];
|
||||
extern const char* noteNamesG[180];
|
||||
|
|
@ -27,6 +35,6 @@ extern const char* insTypes[];
|
|||
extern const char* sampleDepths[17];
|
||||
extern const char* resampleStrats[];
|
||||
extern const int availableSystems[];
|
||||
extern const char* guiActions[][2];
|
||||
extern const FurnaceGUIActionDef guiActions[];
|
||||
extern const int altValues[24];
|
||||
extern const int vgmVersions[6];
|
||||
Loading…
Add table
Add a link
Reference in a new issue