Public Member Functions | |
ttext (const config &cfg) | |
void | draw (surface &canvas, const game_logic::map_formula_callable &variables) |
Implement shape::draw(). | |
Private Attributes | |
tformula< unsigned > | x_ |
tformula< unsigned > | y_ |
tformula< unsigned > | w_ |
tformula< unsigned > | h_ |
unsigned | font_size_ |
int | font_style_ |
Uint32 | colour_ |
tformula< t_string > | text_ |
Definition at line 555 of file canvas.cpp.
gui2::ttext::ttext | ( | const config & | cfg | ) |
void gui2::ttext::draw | ( | surface & | canvas, | |
const game_logic::map_formula_callable & | variables | |||
) | [virtual] |
Implement shape::draw().
Implements gui2::tcanvas::tshape.
Definition at line 625 of file canvas.cpp.
References _, game_logic::map_formula_callable::add(), blit_surface(), colour_, DBG_G_D, font_size_, font_style_, font::get_rendered_text(), h_, game_logic::formula_callable::has_key(), text, text_, VALIDATE, w_, WRN_G_D, x_, and y_.
tformula<unsigned> gui2::ttext::x_ [private] |
tformula<unsigned> gui2::ttext::y_ [private] |
tformula<unsigned> gui2::ttext::w_ [private] |
tformula<unsigned> gui2::ttext::h_ [private] |
unsigned gui2::ttext::font_size_ [private] |
int gui2::ttext::font_style_ [private] |
Uint32 gui2::ttext::colour_ [private] |
tformula<t_string> gui2::ttext::text_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |