class ffw::GuiBox
Class List > ffw :: GuiBox
Inherits the following classes: ffw::GuiWidget
Classes
Type | Name |
---|---|
struct | Style |
Public Functions
Type | Name |
---|---|
GuiBox (GuiWindow * context, const std::string & label, GuiOrientation orient) | |
virtual | ~GuiBox () = default |
virtual void | eventRender (const ffw::Pointf & contentoffset, const ffw::Pointf & contentsize) override |
GuiLayout * | getInner () |
const GuiLayout * | getInner () const |
void | setLabel (const std::string & label) |
const std::string & | getLabel () const |
GuiLabel * | getLabelWidget () |
const GuiLabel * | getLabelWidget () const |
virtual void | eventSize (const ffw::Pointf & size) override |
virtual ffw::Pointf | getMinimumWrapSize () override |
void | setStyle (const GuiBox::Style * style, bool defaults = false) |
Public Functions Documentation
function GuiBox
ffw::GuiBox::GuiBox (
GuiWindow * context,
const std::string & label,
GuiOrientation orient
)
function ~GuiBox
virtual ffw::GuiBox::~GuiBox () = default
function eventRender
virtual void ffw::GuiBox::eventRender (
const ffw::Pointf & contentoffset,
const ffw::Pointf & contentsize
)
Implements GuiWidget::eventRender
function getInner (1/2)
GuiLayout * ffw::GuiBox::getInner ()
function getInner (2/2)
const GuiLayout * ffw::GuiBox::getInner () const
function setLabel
void ffw::GuiBox::setLabel (
const std::string & label
)
function getLabel
const std::string & ffw::GuiBox::getLabel () const
function getLabelWidget (1/2)
GuiLabel * ffw::GuiBox::getLabelWidget ()
function getLabelWidget (2/2)
const GuiLabel * ffw::GuiBox::getLabelWidget () const
function eventSize
virtual void ffw::GuiBox::eventSize (
const ffw::Pointf & size
)
Implements GuiWidget::eventSize
function getMinimumWrapSize
virtual ffw::Pointf ffw::GuiBox::getMinimumWrapSize ()
Implements GuiWidget::getMinimumWrapSize
function setStyle
void ffw::GuiBox::setStyle (
const GuiBox::Style * style,
bool defaults = false
)
The documentation for this class was generated from the following file: include/ffw/gui/guibox.h