32 float slider_t,
float start_angle,
float end_angle,
33 Slider& slider)
override;
46 void drawCurve(Graphics& g, Slider& slider,
int x,
int y,
int width,
int height,
bool active,
bool bipolar);
A specialized LookAndFeel class for drawing curve-shaped rotary sliders.
Definition curve_look_and_feel.h:14
void drawRotarySlider(Graphics &g, int x, int y, int width, int height, float slider_t, float start_angle, float end_angle, Slider &slider) override
Draws a rotary slider with a curve-shaped indicator.
Definition curve_look_and_feel.cpp:11
virtual ~CurveLookAndFeel()
Destructor.
Definition curve_look_and_feel.h:17
void drawCurve(Graphics &g, Slider &slider, int x, int y, int width, int height, bool active, bool bipolar)
Draws the power-scale curve for the slider.
Definition curve_look_and_feel.cpp:37
static CurveLookAndFeel * instance()
Gets the singleton instance of CurveLookAndFeel.
Definition curve_look_and_feel.h:52
A base LookAndFeel class providing default styling for UI elements.
Definition default_look_and_feel.h:31