GUI: prepare for separate operation mask

This commit is contained in:
tildearrow 2022-04-21 03:45:06 -05:00
parent 21c4d09c06
commit bc235ed494
3 changed files with 44 additions and 39 deletions

View file

@ -683,6 +683,16 @@ struct Particle {
lifeSpeed(lS) {}
};
struct OperationMask {
bool note, ins, vol, effect, effectVal;
OperationMask():
note(true),
ins(true),
vol(true),
effect(true),
effectVal(true) {}
};
struct FurnaceGUISysDef {
const char* name;
std::vector<int> definition;
@ -937,7 +947,7 @@ class FurnaceGUI {
float patChanSlideY[DIV_MAX_CHANS+1];
const int* nextDesc;
bool opMaskNote, opMaskIns, opMaskVol, opMaskEffect, opMaskEffectVal;
OperationMask opMask;
short latchNote, latchIns, latchVol, latchEffect, latchEffectVal;
// bit 31: ctrl