#include <foleys_Decorator.h>
Classes | |
| struct | ClientBounds |
Public Member Functions | |
| Decorator ()=default | |
| void | configure (MagicGUIBuilder &builder, const juce::ValueTree &node) |
| This will get the necessary information from the stylesheet, using inheritance of nodes if needed, to set the margins/borders etc. | |
| void | reset () |
| void | updateColours (MagicGUIBuilder &builder, const juce::ValueTree &node) |
| void | drawDecorator (juce::Graphics &g, juce::Rectangle< int > bounds) |
| Decorator::ClientBounds | getClientBounds (juce::Rectangle< int > overallBounds) const |
| juce::String | getTabCaption (const juce::String &defaultName) const |
| juce::Colour | getTabColour () const |
| juce::Colour | getBackgroundColour () const |
|
default |
| void configure | ( | MagicGUIBuilder & | builder, |
| const juce::ValueTree & | node ) |
This will get the necessary information from the stylesheet, using inheritance of nodes if needed, to set the margins/borders etc.
for the GuiItem.
References Box< T >::fromString(), MagicGUIBuilder::getStyleProperty(), and MagicGUIBuilder::getStylesheet().
| void reset | ( | ) |
| void updateColours | ( | MagicGUIBuilder & | builder, |
| const juce::ValueTree & | node ) |
References MagicGUIBuilder::getStyleProperty(), and MagicGUIBuilder::getStylesheet().
| void drawDecorator | ( | juce::Graphics & | g, |
| juce::Rectangle< int > | bounds ) |
References getClientBounds().
| Decorator::ClientBounds getClientBounds | ( | juce::Rectangle< int > | overallBounds | ) | const |
Referenced by drawDecorator().
| juce::String getTabCaption | ( | const juce::String & | defaultName | ) | const |
| juce::Colour getTabColour | ( | ) | const |
| juce::Colour getBackgroundColour | ( | ) | const |