MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / resized

Method resized

Source/GUI/ModulatableSlider.cpp:293–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void ModulatableSlider::resized()
294{
295 // First, call the base class's resized() to let it draw the slider itself.
296 juce::Slider::resized();
297
298 // Then, place our label in the area designated for the textbox.
299 // This ensures it's perfectly aligned above the knob.
300 label.setBounds(0, 0, getWidth(), TEXTBOX_HEIGHT);
301}
302
303void ModulatableSlider::timerCallback()
304{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected