gui2::ttext Class Reference

Definition of a text shape. More...

Inheritance diagram for gui2::ttext:

Inheritance graph
[legend]
Collaboration diagram for gui2::ttext:

Collaboration graph
[legend]

List of all members.

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_stringtext_


Detailed Description

Definition of a text shape.

Definition at line 555 of file canvas.cpp.


Constructor & Destructor Documentation

gui2::ttext::ttext ( const config cfg  ) 

Definition at line 578 of file canvas.cpp.

References DBG_G_P, and debug.


Member Function Documentation

void gui2::ttext::draw ( surface canvas,
const game_logic::map_formula_callable variables 
) [virtual]


Member Data Documentation

tformula<unsigned> gui2::ttext::x_ [private]

Definition at line 566 of file canvas.cpp.

Referenced by draw().

tformula<unsigned> gui2::ttext::y_ [private]

Definition at line 566 of file canvas.cpp.

Referenced by draw().

tformula<unsigned> gui2::ttext::w_ [private]

Definition at line 566 of file canvas.cpp.

Referenced by draw().

tformula<unsigned> gui2::ttext::h_ [private]

Definition at line 566 of file canvas.cpp.

Referenced by draw().

unsigned gui2::ttext::font_size_ [private]

Definition at line 571 of file canvas.cpp.

Referenced by draw().

int gui2::ttext::font_style_ [private]

Definition at line 572 of file canvas.cpp.

Referenced by draw().

Uint32 gui2::ttext::colour_ [private]

Definition at line 573 of file canvas.cpp.

Referenced by draw().

Definition at line 575 of file canvas.cpp.

Referenced by draw().


The documentation for this class was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs