GUI: macro UI refactor, part 3

we have a scrollbar (i think)
This commit is contained in:
tildearrow 2022-05-07 16:25:02 -05:00
parent d4d3cb44b9
commit 24b7dd6f54
2 changed files with 40 additions and 9 deletions

View file

@ -166,13 +166,20 @@ struct DivInstrumentMacro {
unsigned char len;
signed char loop;
signed char rel;
// the following variables are used by the GUI and not saved in the file
int vScroll, vZoom;
explicit DivInstrumentMacro(const String& n, bool initOpen=false):
name(n),
mode(0),
open(initOpen),
len(0),
loop(-1),
rel(-1) {
rel(-1),
vScroll(0),
vZoom(-1) {
memset(val,0,256*sizeof(int));
}
};