109 Rectangle<float> getMeterBounds();
119 void collapseVertices();
134 float left_, right_, top_, bottom_;
A visual component that displays the current modulation amount applied to a slider parameter.
Definition modulation_meter.h:21
void resized() override
Called when the component is resized.
Definition modulation_meter.cpp:27
void setModulationAmountQuad(OpenGlQuad &quad, float amount, bool bipolar)
Sets the given quad to represent a modulation amount line or arc.
Definition modulation_meter.cpp:180
bool isModulated() const
Checks whether there are any modulations on the associated parameter.
Definition modulation_meter.h:76
void updateDrawing(bool use_poly)
Updates the drawing of the modulation meter, recalculating mod percent and visuals.
Definition modulation_meter.cpp:144
vital::poly_float getModPercent()
Gets the current modulation percentage.
Definition modulation_meter.h:94
const SynthSlider * destination()
Gets the destination slider that the meter is visualizing.
Definition modulation_meter.h:100
bool isRotary() const
Checks if the associated parameter control is a rotary knob.
Definition modulation_meter.h:82
void setActive(bool active)
Sets whether the modulation meter is active (visible and updating).
Definition modulation_meter.cpp:42
void setModulated(bool modulated)
Sets the modulated state of the meter.
Definition modulation_meter.h:88
void setAmountQuadVertices(OpenGlQuad &quad)
Sets up the quad coordinates for the modulation amount indicator.
Definition modulation_meter.cpp:115
virtual ~ModulationMeter()
Destructor.
Definition modulation_meter.cpp:25
A component for rendering multiple quads using OpenGL, with customizable colors, rounding,...
Definition open_gl_multi_quad.h:16
A convenience class for a single quad rendered via OpenGL.
Definition open_gl_multi_quad.h:447
A specialized slider with extended functionality for modulation, parameter control,...
Definition synth_slider.h:314
Contains classes and functions used within the Vital synthesizer framework.
Holds and manages a buffer of samples (poly_float) for a Processor's output.
Definition processor.h:35
Represents a vector of floating-point values using SIMD instructions.
Definition poly_values.h:600