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

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 |
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.
Definition at line 388 of file help.cpp.
Referenced by help::help_text_area::add_item(), help::help_text_area::get_max_x(), and help::help_text_area::get_min_x().
Definition at line 386 of file help.cpp.
Referenced by help::help_text_area::add_item(), help::help_text_area::get_max_x(), help::help_text_area::get_min_x(), and help::help_text_area::get_y_for_floating_img().
| SDL_Rect help::help_text_area::item::rect |
Relative coordinates of this item.
Definition at line 373 of file help.cpp.
Referenced by help::help_text_area::add_item(), help::help_text_area::adjust_last_row(), help::help_text_area::get_max_x(), help::help_text_area::get_min_x(), help::help_text_area::get_y_for_floating_img(), item(), and help::help_text_area::item_at::operator()().
| std::string help::help_text_area::item::ref_to |
| std::string help::help_text_area::item::text |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:50 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |