GUI: allow pat scroll by moving mouse outta window

had to fit 50 chars
This commit is contained in:
tildearrow 2021-12-23 22:14:59 -05:00
parent 7ba8607270
commit c41435353a
2 changed files with 26 additions and 4 deletions

View file

@ -151,7 +151,9 @@ class FurnaceGUI {
int waveDragMin, waveDragMax;
bool waveDragActive;
float nextScroll;
float nextScroll, nextAddScroll;
ImVec2 patWindowPos, patWindowSize;
void updateWindowTitle();
void prepareLayout();
@ -197,6 +199,7 @@ class FurnaceGUI {
bool decodeNote(const char* what, short& note, short& octave);
void bindEngine(DivEngine* eng);
void updateScroll(int amount);
void addScroll(int amount);
bool loop();
bool finish();
bool init();