|
| | 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...
|
| |
| const std::vector< shared_ptr< ThemeWidget > > & | getChildren () const noexcept |
| | The child ThemeWidget vector of the container. More...
|
| |
| 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...
|
| |
| ThemeContainerWidget * | getParent () 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...
|
| |
| 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...
|
| |
| BoxWidget * | getBoxWidgetModel () noexcept |
| | The pointer to the model. More...
|
| |
| 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 |
| |
| ThemeLayout & | themeLayout () noexcept |
| | The theme layout. More...
|
| |
| const ThemeLayout & | themeLayout () 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...
|
| |