Abstract base class for all other shapes. More...
#include <canvas.hpp>


Public Member Functions | |
| virtual | ~tshape () |
| virtual void | draw (surface &canvas, const game_logic::map_formula_callable &variables)=0 |
| Draws the canvas. | |
Abstract base class for all other shapes.
The other shapes are declared and defined in canvas.cpp, since the implementation details are not interesting for users of the canvas.
Definition at line 54 of file canvas.hpp.
| virtual gui2::tcanvas::tshape::~tshape | ( | ) | [inline, virtual] |
Definition at line 57 of file canvas.hpp.
| virtual void gui2::tcanvas::tshape::draw | ( | surface & | canvas, | |
| const game_logic::map_formula_callable & | variables | |||
| ) | [pure virtual] |
Draws the canvas.
| canvas | The resulting image will be blitted upon this canvas. | |
| variables | The canvas can have formulas in it's definition, this parameter contains the values for these formulas. |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:21:49 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |