13 keyboard_ = std::make_unique<MidiKeyboard>(*keyboard_state);
39 keyboard_->setBounds(getLocalBounds());
void resized() override
Called when the component is resized.
Definition keyboard_interface.cpp:38
void paintBackground(Graphics &g) override
Paints the background of the keyboard interface.
Definition keyboard_interface.cpp:30
KeyboardInterface(MidiKeyboardState *keyboard_state)
Constructs a new KeyboardInterface.
Definition keyboard_interface.cpp:12
~KeyboardInterface()
Destructor.
Definition keyboard_interface.cpp:23
@ kKeyboard
Definition skin.h:44
Base class for all synthesizer sections, providing UI layout, painting, and interaction logic.
Definition synth_section.h:193
virtual void resized() override
Called when the component is resized. Arranges layout of child components.
Definition synth_section.cpp:35
virtual void paintBody(Graphics &g, Rectangle< int > bounds)
Paints the body background within given bounds.
Definition synth_section.cpp:165
void paintChildrenBackgrounds(Graphics &g)
Paints the backgrounds for all child sections.
Definition synth_section.cpp:274
void addOpenGlComponent(OpenGlComponent *open_gl_component, bool to_beginning=false)
Definition synth_section.cpp:489
void setSkinOverride(Skin::SectionOverride skin_override)
Definition synth_section.h:303