GUI: possibly improved sample zooming

sorry I dropped the compact mode because I am making the toolbar dynamic
soon...
This commit is contained in:
tildearrow 2022-11-23 03:17:04 -05:00
parent ca204e6d69
commit e21040169f
4 changed files with 582 additions and 1126 deletions

View File

@ -5836,6 +5836,7 @@ FurnaceGUI::FurnaceGUI():
oldOrdersLen(0),
sampleZoom(1.0),
prevSampleZoom(1.0),
minSampleZoom(1.0),
samplePos(0),
resizeSize(1024),
silenceSize(1024),

View File

@ -1583,6 +1583,7 @@ class FurnaceGUI {
// sample editor specific
double sampleZoom;
double prevSampleZoom;
double minSampleZoom;
int samplePos;
int resizeSize, silenceSize;
double resampleTarget;

File diff suppressed because it is too large Load Diff

View File

@ -1540,11 +1540,6 @@ void FurnaceGUI::drawSettings() {
settings.waveLayout=waveLayoutB;
}
bool sampleLayoutB=settings.sampleLayout;
if (ImGui::Checkbox("Use compact sample editor",&sampleLayoutB)) {
settings.sampleLayout=sampleLayoutB;
}
bool oldMacroVSliderB=settings.oldMacroVSlider;
if (ImGui::Checkbox("Use classic macro editor vertical slider",&oldMacroVSliderB)) {
settings.oldMacroVSlider=oldMacroVSliderB;