#include <foleys_BoxModel.h>
Public Member Functions | |
Box ()=default | |
Box (T value) | |
juce::Rectangle< T > | reducedRect (juce::Rectangle< T > rect) const |
Static Public Member Functions | |
static Box | fromString (const juce::String &text) |
Public Attributes | |
T | top = {} |
T | left = {} |
T | right = {} |
T | bottom = {} |
|
default |
Box | ( | T | value | ) |
|
static |
References Box< T >::bottom, Box< T >::left, Box< T >::right, and Box< T >::top.
juce::Rectangle< T > reducedRect | ( | juce::Rectangle< T > | rect | ) | const |
References Box< T >::bottom, Box< T >::left, Box< T >::right, and Box< T >::top.
Referenced by Decorator::drawDecorator(), and Decorator::getClientBounds().
T top = {} |
Referenced by Box< T >::fromString(), and Box< T >::reducedRect().
T left = {} |
Referenced by Box< T >::fromString(), and Box< T >::reducedRect().
T right = {} |
Referenced by Box< T >::fromString(), and Box< T >::reducedRect().
T bottom = {} |
Referenced by Box< T >::fromString(), and Box< T >::reducedRect().