Public Member Functions | Public Attributes

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 363 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 2187 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 2203 of file help.cpp.

References box, and rect.


Member Data Documentation

Definition at line 387 of file help.cpp.

Referenced by item().

Definition at line 382 of file help.cpp.

Definition at line 375 of file help.cpp.

Definition at line 378 of file help.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:50 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs