70 std::unique_ptr<MidiKeyboard> keyboard_;
A UI section of the synthesizer interface that displays and handles a virtual MIDI keyboard.
Definition keyboard_interface.h:16
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
void setFocus()
Sets the focus to this component, ensuring keyboard events are directed here.
Definition keyboard_interface.h:61
void paintBackgroundShadow(Graphics &g) override
Paints the shadow for the background (if the section is active).
Definition keyboard_interface.h:48
A visual and interactive MIDI keyboard component.
Definition midi_keyboard.h:17
Base class for all synthesizer sections, providing UI layout, painting, and interaction logic.
Definition synth_section.h:193
bool isActive() const
Checks if the section is currently active.
Definition synth_section.h:683
virtual void paintTabShadow(Graphics &g)
Paints a tab-like shadow effect around the component.
Definition synth_section.cpp:188