help::help_text_area::item Struct Reference

An item that is displayed in the text area. More...

Collaboration diagram for help::help_text_area::item:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 item (surface surface, int x, int y, const std::string text="", const std::string reference_to="", bool floating=false, bool box=false, ALIGNMENT alignment=HERE)
 item (surface surface, int x, int y, bool floating, bool box=false, ALIGNMENT=HERE)

Public Attributes

SDL_Rect rect
 Relative coordinates of this item.
surface surf
std::string text
std::string ref_to
bool floating
bool box
ALIGNMENT align


Detailed Description

An item that is displayed in the text area.

Contains the surface that should be blitted along with some other information.

Definition at line 331 of file help.cpp.


Constructor & Destructor Documentation

help::help_text_area::item::item ( surface  surface,
int  x,
int  y,
const std::string  text = "",
const std::string  reference_to = "",
bool  floating = false,
bool  box = false,
ALIGNMENT  alignment = HERE 
)

Definition at line 1984 of file help.cpp.

References box, and rect.

help::help_text_area::item::item ( surface  surface,
int  x,
int  y,
bool  floating,
bool  box = false,
ALIGNMENT  alignment = HERE 
)

Definition at line 1996 of file help.cpp.

References box, and rect.


Member Data Documentation

Definition at line 343 of file help.cpp.

Definition at line 346 of file help.cpp.

Definition at line 350 of file help.cpp.

Definition at line 355 of file help.cpp.

Referenced by item().


The documentation for this struct 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