Vital
Loading...
Searching...
No Matches
help_panel.h
Go to the documentation of this file.
1#pragma once
2
3#include "JuceHeader.h"
4#include "synth_section.h"
5
6// model this on header_section.h
7// save the listener for after getting the panel to show
8class HelpPanel : public SynthSection {
9public:
10
11
15 HelpPanel();
16 ~HelpPanel() override = default;
17
18// void setHelpText(const String& text);
23 void paintBackground(Graphics& g) override;
24
28 void resized() override;
29
33 void reset() override;
34
35
36private:
37 String help_text_;
38};
Definition help_panel.h:8
HelpPanel()
Constructs the HelpPanel.
Definition help_panel.cpp:6
void resized() override
Resizes and rearranges child components within the help panel.
Definition help_panel.cpp:21
~HelpPanel() override=default
void reset() override
Resets the header, typically after loading a preset or making other state changes.
Definition help_panel.cpp:32
void paintBackground(Graphics &g) override
Paints the background of the help panel.
Definition help_panel.cpp:13
Base class for all synthesizer sections, providing UI layout, painting, and interaction logic.
Definition synth_section.h:193