|
stmm-games-doc
0.32.0
|
Base class for theme widget factories. More...

Public Member Functions | |
| virtual | ~StdThemeWidgetFactory () noexcept=default |
| StdThemeWidgetFactory (StdTheme *p1Owner) noexcept | |
| Constructor. More... | |
| virtual shared_ptr< ThemeWidget > | create (const shared_ptr< GameWidget > &refGameWidget, double fTileWHRatio, const Glib::RefPtr< Pango::Context > &refFontContext) noexcept=0 |
| Creates a theme widget for a game widget. More... | |
| virtual void | clearOwner () noexcept |
| Clears the owner passed in the constructor. More... | |
Protected Member Functions | |
| StdTheme * | owner () noexcept |
| The owner. More... | |
| const StdTheme * | owner () const noexcept |
| The owner. More... | |
Base class for theme widget factories.
|
virtualdefaultnoexcept |
|
explicitnoexcept |
Constructor.
| p1Owner | The owner. Cannot be null. |
|
virtualnoexcept |
Clears the owner passed in the constructor.
Makes the instance unusable.
|
pure virtualnoexcept |
Creates a theme widget for a game widget.
| refGameWidget | The model. Cannot be null. |
| fTileWHRatio | The tile weight to height ratio. |
| refFontContext | The pango font context. Cannot be null. |
Implemented in stmg::BoxThemeWidgetFactory< TOwnerFactory, TBoxThemeWidget, TBoxWidget >, stmg::BoxThemeWidgetFactory< InputBoxThWidgetFactory, InputBoxThWidget, InputBoxWidget >, stmg::BoxThemeWidgetFactory< ActionsBoxThWidgetFactory, ActionsBoxThWidget, ActionsBoxWidget >, stmg::BoxThemeWidgetFactory< BoxThWidgetFactory, BoxThWidget, BoxWidget >, stmg::ActionThWidgetFactory, stmg::PreviewThWidgetFactory, stmg::VarThWidgetFactory, stmg::LevelShowThWidgetFactory, stmg::ProgressThWidgetFactory, stmg::BackgroundThWidgetFactory, stmg::VolatileThWidgetFactory, and stmg::TransparentThWidgetFactory.
|
inlineprotectednoexcept |
The owner.
1.8.13