Krotos Modules 3
Loading...
Searching...
No Matches
KwidgetGUI_Lfo.cpp
Go to the documentation of this file.
1namespace krotos
2{
9
11 {
13 Rectangle<int> bounds = m_currentBounds;
14 auto sliderBounds = bounds.removeFromTop(static_cast<int>(0.75f * getHeight()));
15
16 m_freq.setBounds(sliderBounds);
17 }
18} // namespace krotos
AttachedSlider m_freq
Definition KwidgetGUI_Lfo.h:13
KwidgetGUI_Lfo(Kwidget &owner)
Definition KwidgetGUI_Lfo.cpp:3
void resized() override
Definition KwidgetGUI_Lfo.cpp:10
Interface for a UI Component that controls a KwidgetProcessor.
Definition KwidgetGUI.h:24
Colour m_borderColour
Definition KwidgetGUI.h:149
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 Frequency
Definition Kwidget_Lfo.h:8