clean up UI a bit

This commit is contained in:
Gordon JC Pearce 2025-01-08 11:40:48 +00:00
parent 61e29d20a0
commit 9cdcf0582f
4 changed files with 4993 additions and 4993 deletions

View File

@ -19,7 +19,7 @@
#ifndef DISTRHO_PLUGIN_INFO_H #ifndef DISTRHO_PLUGIN_INFO_H
#define DISTRHO_PLUGIN_INFO_H #define DISTRHO_PLUGIN_INFO_H
#define DISTRHO_PLUGIN_NAME "alphaosc" #define DISTRHO_PLUGIN_NAME "alphaOsc"
#define DISTRHO_PLUGIN_URI "https://gjcp.net/plugins/alphaosc" #define DISTRHO_PLUGIN_URI "https://gjcp.net/plugins/alphaosc"
#define DISTRHO_PLUGIN_NUM_INPUTS 0 #define DISTRHO_PLUGIN_NUM_INPUTS 0

View File

@ -7,7 +7,7 @@
# #
############################### ###############################
NAME = alphaosc NAME = alphaOsc
FILES_DSP = \ FILES_DSP = \
parameters.cpp \ parameters.cpp \

File diff suppressed because it is too large Load Diff

View File

@ -15,8 +15,8 @@ DistrhoUIAlphaOsc::DistrhoUIAlphaOsc() : UI(Art::bgWidth, Art::bgHeight, true),
xSliderSqrMode = new ImageSlider(this, whiteSlider); xSliderSqrMode = new ImageSlider(this, whiteSlider);
xSliderSqrMode->setId(AlphaOsc::pSqrMode); xSliderSqrMode->setId(AlphaOsc::pSqrMode);
xSliderSqrMode->setStartPos(32, 36); xSliderSqrMode->setStartPos(32, 35);
xSliderSqrMode->setEndPos(32, 84); xSliderSqrMode->setEndPos(32, 83);
xSliderSqrMode->setRange(0, 3.0f); xSliderSqrMode->setRange(0, 3.0f);
xSliderSqrMode->setInverted(true); xSliderSqrMode->setInverted(true);
xSliderSqrMode->setStep(1); xSliderSqrMode->setStep(1);
@ -24,8 +24,8 @@ DistrhoUIAlphaOsc::DistrhoUIAlphaOsc() : UI(Art::bgWidth, Art::bgHeight, true),
xSliderSawMode = new ImageSlider(this, whiteSlider); xSliderSawMode = new ImageSlider(this, whiteSlider);
xSliderSawMode->setId(AlphaOsc::pSawMode); xSliderSawMode->setId(AlphaOsc::pSawMode);
xSliderSawMode->setStartPos(87, 36); xSliderSawMode->setStartPos(87, 35);
xSliderSawMode->setEndPos(87, 117); xSliderSawMode->setEndPos(87, 115);
xSliderSawMode->setRange(0, 5.0f); xSliderSawMode->setRange(0, 5.0f);
xSliderSawMode->setInverted(true); xSliderSawMode->setInverted(true);
xSliderSawMode->setStep(1); xSliderSawMode->setStep(1);
@ -33,8 +33,8 @@ DistrhoUIAlphaOsc::DistrhoUIAlphaOsc() : UI(Art::bgWidth, Art::bgHeight, true),
xSliderSubMode = new ImageSlider(this, whiteSlider); xSliderSubMode = new ImageSlider(this, whiteSlider);
xSliderSubMode->setId(AlphaOsc::pSubMode); xSliderSubMode->setId(AlphaOsc::pSubMode);
xSliderSubMode->setStartPos(142, 36); xSliderSubMode->setStartPos(142, 35);
xSliderSubMode->setEndPos(1425, 117); xSliderSubMode->setEndPos(1425, 115);
xSliderSubMode->setRange(0, 5.0f); xSliderSubMode->setRange(0, 5.0f);
xSliderSubMode->setInverted(true); xSliderSubMode->setInverted(true);
xSliderSubMode->setStep(1); xSliderSubMode->setStep(1);
@ -42,24 +42,24 @@ DistrhoUIAlphaOsc::DistrhoUIAlphaOsc() : UI(Art::bgWidth, Art::bgHeight, true),
xSliderSubLevel = new ImageSlider(this, whiteSlider); xSliderSubLevel = new ImageSlider(this, whiteSlider);
xSliderSubLevel->setId(AlphaOsc::pSubLevel); xSliderSubLevel->setId(AlphaOsc::pSubLevel);
xSliderSubLevel->setStartPos(202, 36); xSliderSubLevel->setStartPos(202, 35);
xSliderSubLevel->setEndPos(202, 117); xSliderSubLevel->setEndPos(202, 115);
xSliderSubLevel->setRange(0, 1.0f); xSliderSubLevel->setRange(0, 1.0f);
xSliderSubLevel->setInverted(true); xSliderSubLevel->setInverted(true);
xSliderSubLevel->setCallback(this); xSliderSubLevel->setCallback(this);
xSliderPWMDepth = new ImageSlider(this, whiteSlider); xSliderPWMDepth = new ImageSlider(this, whiteSlider);
xSliderPWMDepth->setId(AlphaOsc::pPWMDepth); xSliderPWMDepth->setId(AlphaOsc::pPWMDepth);
xSliderPWMDepth->setStartPos(272, 36); xSliderPWMDepth->setStartPos(272, 35);
xSliderPWMDepth->setEndPos(272, 117); xSliderPWMDepth->setEndPos(272, 115);
xSliderPWMDepth->setRange(0, 1.0f); xSliderPWMDepth->setRange(0, 1.0f);
xSliderPWMDepth->setInverted(true); xSliderPWMDepth->setInverted(true);
xSliderPWMDepth->setCallback(this); xSliderPWMDepth->setCallback(this);
xSliderPWMRate = new ImageSlider(this, whiteSlider); xSliderPWMRate = new ImageSlider(this, whiteSlider);
xSliderPWMRate->setId(AlphaOsc::pPWMRate); xSliderPWMRate->setId(AlphaOsc::pPWMRate);
xSliderPWMRate->setStartPos(312, 36); xSliderPWMRate->setStartPos(312, 35);
xSliderPWMRate->setEndPos(312, 117); xSliderPWMRate->setEndPos(312, 115);
xSliderPWMRate->setRange(0, 1.0f); xSliderPWMRate->setRange(0, 1.0f);
xSliderPWMRate->setInverted(true); xSliderPWMRate->setInverted(true);
xSliderPWMRate->setCallback(this); xSliderPWMRate->setCallback(this);