24#include <juce_gui_basics/juce_gui_basics.h> 
   54  void paint(juce::Graphics&) 
override;
 
   55  void resized() 
override;
 
   58  std::vector<juce::Component*> _components;
 
 
A panel for the dynamic layout of multiple components.
Definition ComponentPanel.h:32
 
ComponentPanel(const Params &, std::vector< juce::Component * >)
Constructor.
Definition ComponentPanel.cpp:26
 
Orientation
Orientation of the panel.
Definition ComponentPanel.h:36
 
@ Vertical
Vertical orientation.
 
@ Horizontal
Horizontal orientation.
 
Parameters for the ComponentPanel.
Definition ComponentPanel.h:43
 
juce::Colour foreground
The color of the label.
Definition ComponentPanel.h:45
 
juce::String label
The label to be displayed.
Definition ComponentPanel.h:44
 
Orientation orientation
The orientation of the panel.
Definition ComponentPanel.h:47
 
juce::Colour background
The color of the background.
Definition ComponentPanel.h:46
 
juce::SharedResourcePointer< Fonts > Instance
Add this as a member to your component/editor class to access the fonts.
Definition Fonts.h:58