Krotos Modules 3
Loading...
Searching...
No Matches
KwidgetGUI_Sawtooth.cpp
Go to the documentation of this file.
1namespace krotos
2{
7
9 {
11 auto sliderBounds = m_currentBounds.removeFromTop(static_cast<int>(0.75 * static_cast<float>(getHeight())));
12
13 m_amplitude.setBounds(sliderBounds);
14 }
15} // namespace krotos
void resized() override
Definition KwidgetGUI_Sawtooth.cpp:8
KwidgetGUI_Sawtooth(Kwidget &owner)
Definition KwidgetGUI_Sawtooth.cpp:3
AttachedSlider m_amplitude
Definition KwidgetGUI_Sawtooth.h:13
Interface for a UI Component that controls a KwidgetProcessor.
Definition KwidgetGUI.h:24
void addAttachedComponent(AttachedComponentType &component, const String &paramID, bool isDraggable=true)
Definition KwidgetGUI.h:112
Rectangle< int > m_currentBounds
Definition KwidgetGUI.h:146
void resized() override
Definition KwidgetGUI.cpp:45
Definition Kwidget.h:8
Definition AirAbsorptionFilter.cpp:2
static const String Amplitude
Definition Kwidget_Sawtooth.h:8