GUI: patchbay connection

some improvements left to do
This commit is contained in:
tildearrow 2023-01-10 14:17:06 -05:00
parent 9b79bc0e7b
commit 4bc2418dd6
3 changed files with 73 additions and 49 deletions

View file

@ -1113,11 +1113,6 @@ class FurnaceGUI {
int zsmExportTickRate;
int macroPointSize;
int waveEditStyle;
// 0xxx: output
// 1xxx: input
unsigned int selectedPortSet;
// any value not between 0 and 15 are "none"
int selectedSubPort;
int displayInsTypeListMakeInsSample;
int mobileEditPage;
float mobileMenuPos, autoButtonSize, mobileEditAnim;
@ -1661,6 +1656,17 @@ class FurnaceGUI {
size_t sampleClipboardLen;
bool openSampleResizeOpt, openSampleResampleOpt, openSampleAmplifyOpt, openSampleSilenceOpt, openSampleFilterOpt;
// mixer
// 0xxx: output
// 1xxx: input
unsigned int selectedPortSet;
// any value not between 0 and 15 are "none"
int selectedSubPort;
unsigned int hoveredPortSet;
int hoveredSubPort;
bool portDragActive;
ImVec2 subPortPos;
// oscilloscope
int oscTotal;
float oscValues[512];