stmm-games-doc  0.32.0
List of all members
stmg::BoxThWidget Class Reference
Inheritance diagram for stmg::BoxThWidget:
Inheritance graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from stmg::BoxThemeWidget< BoxThWidgetFactory, BoxThWidget, BoxWidget >
 BoxThemeWidget (BoxThWidgetFactory *p1Owner, const shared_ptr< GameWidget > &refGameWidget, BoxWidget *p0BoxWidget, const std::vector< shared_ptr< ThemeWidget > > &aChildTW, double fTileWHRatio) noexcept
 Constructor. More...
 
void reInit (BoxThWidgetFactory *p1Owner, const shared_ptr< GameWidget > &refGameWidget, BoxWidget *p0BoxWidget, const std::vector< shared_ptr< ThemeWidget > > &aChildTW, double fTileWHRatio) noexcept
 Reinitialization. More...
 
bool canChange () const noexcept override
 Whether the widget's appearance (or one of its parents) can change. More...
 
NSize getSize () const noexcept override
 The size of the widget. More...
 
NPoint getPos () const noexcept override
 The position of the widget. More...
 
bool drawIfChanged (const Cairo::RefPtr< Cairo::Context > &refCc) noexcept override
 Deep draws a widget if it changed. More...
 
void draw (const Cairo::RefPtr< Cairo::Context > &refCc) noexcept override
 Draws a widget. More...
 
const std::pair< SegmentedFunction, SegmentedFunction > & getSizeFunctions (int32_t nLayoutConfig) const noexcept override
 Gets the width and height functions that take the tile width as parameter. More...
 
void placeAndMaybeResizeIn (const NRect &oRect) noexcept override
 Places and possibly resizes the widget within the given area. More...
 
void dump (int32_t nIndentSpaces, bool bHeader) const noexcept override
 Writes object contents to std::cout. More...
 
- Public Member Functions inherited from stmg::ThemeContainerWidget
const std::vector< shared_ptr< ThemeWidget > > & getChildren () const noexcept
 The child ThemeWidget vector of the container. More...
 
- Public Member Functions inherited from stmg::ThemeWidget
virtual ~ThemeWidget () noexcept=default
 
virtual void drawDeep (const Cairo::RefPtr< Cairo::Context > &refCc) noexcept
 Deep draws a widget. More...
 
bool isContainer () const noexcept
 Tells Whether the widget is a container. More...
 
const shared_ptr< GameWidget > & getModel () const noexcept
 The game widget used to generate the theme widget. More...
 
ThemeContainerWidgetgetParent () const noexcept
 The parent container of the widget. More...
 
void dump (int32_t nIndentSpaces) const noexcept
 Writes object contents to std::cout (header included). More...
 
void dump () const noexcept
 Writes contents to std::cout without indentation. More...
 
- Protected Member Functions inherited from stmg::BoxThemeWidget< BoxThWidgetFactory, BoxThWidget, BoxWidget >
void onAssignedToLayout () noexcept override
 Signal that widget was added to a layout. More...
 
void onRecalcSizeFunctions (ThemeWidget *p0ReferenceThemeWidget) noexcept override
 Signal the widget should define its size functions. More...
 
void sizeAndConfig (int32_t nTileW, int32_t nLayoutConfig) noexcept override
 Sets the tile size of the widget and its configuration. More...
 
BoxWidgetgetBoxWidgetModel () noexcept
 The pointer to the model. More...
 
- Protected Member Functions inherited from stmg::ThemeContainerWidget
void setChildren (const std::vector< shared_ptr< ThemeWidget > > &aChildren) noexcept
 Sets the children of the container. More...
 
 ThemeContainerWidget (const shared_ptr< GameWidget > &refModel) noexcept
 Constructor. More...
 
void reInit (const shared_ptr< GameWidget > &refModel) noexcept
 Reinitialization. More...
 
virtual ~ThemeContainerWidget () noexcept
 
- Protected Member Functions inherited from stmg::ThemeWidget
ThemeLayoutthemeLayout () noexcept
 The theme layout. More...
 
const ThemeLayoutthemeLayout () const noexcept
 The constant theme layout. More...
 
 ThemeWidget (const shared_ptr< GameWidget > &refModel) noexcept
 Constructs the theme widget. More...
 
void reInit (const shared_ptr< GameWidget > &refModel) noexcept
 Reinitializes the theme widget. More...