mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
GUI: prepare for sample select/draw
This commit is contained in:
parent
689ed3bf65
commit
67ca88b478
2 changed files with 9 additions and 2 deletions
|
@ -7104,7 +7104,11 @@ FurnaceGUI::FurnaceGUI():
|
||||||
sampleSelStart(-1),
|
sampleSelStart(-1),
|
||||||
sampleSelEnd(-1),
|
sampleSelEnd(-1),
|
||||||
sampleDragActive(false),
|
sampleDragActive(false),
|
||||||
sampleDragMode(false) {
|
sampleDragMode(false),
|
||||||
|
sampleDrag16(false),
|
||||||
|
sampleDragTarget(NULL),
|
||||||
|
sampleDragStart(0,0),
|
||||||
|
sampleDragAreaSize(0,0) {
|
||||||
|
|
||||||
// octave 1
|
// octave 1
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -743,7 +743,10 @@ class FurnaceGUI {
|
||||||
int resampleStrat;
|
int resampleStrat;
|
||||||
float amplifyVol;
|
float amplifyVol;
|
||||||
int sampleSelStart, sampleSelEnd;
|
int sampleSelStart, sampleSelEnd;
|
||||||
bool sampleDragActive, sampleDragMode;
|
bool sampleDragActive, sampleDragMode, sampleDrag16;
|
||||||
|
void* sampleDragTarget;
|
||||||
|
ImVec2 sampleDragStart;
|
||||||
|
ImVec2 sampleDragAreaSize;
|
||||||
|
|
||||||
// visualizer
|
// visualizer
|
||||||
float keyHit[DIV_MAX_CHANS];
|
float keyHit[DIV_MAX_CHANS];
|
||||||
|
|
Loading…
Reference in a new issue