GUI: add chip names option

This commit is contained in:
tildearrow 2022-01-28 03:17:35 -05:00
parent 9b62eb9d34
commit 0567a3f71b
4 changed files with 75 additions and 7 deletions

View file

@ -203,6 +203,7 @@ class FurnaceGUI {
int macroView;
int fmNames;
int allowEditDocking;
int chipNames;
unsigned int maxUndoSteps;
String mainFontPath;
String patFontPath;
@ -227,6 +228,7 @@ class FurnaceGUI {
macroView(0),
fmNames(0),
allowEditDocking(0),
chipNames(0),
maxUndoSteps(100),
mainFontPath(""),
patFontPath("") {}
@ -371,6 +373,8 @@ class FurnaceGUI {
void decodeMMLStr(String& source, int* macro, unsigned char& macroLen, signed char& macroLoop, int macroMin, int macroMax);
void decodeMMLStrW(String& source, int* macro, int& macroLen, int macroMax);
const char* getSystemName(DivSystem which);
public:
const char* noteName(short note, short octave);
bool decodeNote(const char* what, short& note, short& octave);