Single case shortcut of SelectCaseModifier.
More...
|
| enum | FLOW_CONTROL { FLOW_CONTROL_CONTINUE = 0,
FLOW_CONTROL_STOP = 1
} |
| |
| static FLOW_CONTROL | drawTile (const std::vector< unique_ptr< StdThemeModifier > > &aModifiers, const Cairo::RefPtr< Cairo::Context > &refCc, StdThemeDrawingContext &oDc, const Tile &oTile, int32_t nPlayer, const std::vector< double > &aAniElapsed) noexcept |
| |
| FLOW_CONTROL | drawContainedToWorkSurface (StdThemeDrawingContext &oDc, const Tile &oTile, int32_t nPlayer, const std::vector< double > &aAniElapsed, Cairo::RefPtr< Cairo::Surface > &refSurface) noexcept |
| |
| | StdThemeModifier (Init &&oInit) noexcept |
| | Constructor. More...
|
| |
| StdTheme * | owner () noexcept |
| | The theme. More...
|
| |
| const StdTheme * | owner () const noexcept |
| | The theme. More...
|
| |
Single case shortcut of SelectCaseModifier.
◆ CaseModifier()
| stmg::CaseModifier::CaseModifier |
( |
Init && |
oInit | ) |
|
|
explicitnoexcept |
Constructor.
- Parameters
-
| oInit | The initialization data. |
◆ drawTile()
Draw tile (with player skin).
- Parameters
-
| refCc | The cairo context. Cannot be null. |
| oDc | The theme drawing context. Cannot be null. |
| oTile | The tile to draw. |
| nPlayer | The player the tile "belongs" to. -1 means no player. Must be >= -1. |
| aAniElapsed | The tile animations current value. |
- Returns
- Whether the caller should continue or stop painting.
Reimplemented from stmg::ContainerModifier.