#include "global.hpp"#include "tooltips.hpp"#include "font.hpp"#include "foreach.hpp"#include "game_display.hpp"#include "help.hpp"#include "marked-up_text.hpp"#include "resources.hpp"#include "video.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | tooltips |
tooltips. | |
Functions | |
| static void | clear_tooltip () |
| static void | show_tooltip (const tooltip &tip) |
| void | tooltips::clear_tooltips () |
| void | tooltips::clear_tooltips (const SDL_Rect &rect) |
| void | tooltips::add_tooltip (const SDL_Rect &rect, const std::string &message, const std::string &action, bool use_markup) |
| void | tooltips::process (int mousex, int mousey) |
| bool | tooltips::click (int mousex, int mousey) |
| static void clear_tooltip | ( | ) | [static] |
Definition at line 54 of file tooltips.cpp.
References font::remove_floating_label().
Referenced by show_tooltip().


| static void show_tooltip | ( | const tooltip & | tip | ) | [static] |
Definition at line 62 of file tooltips.cpp.
References font::add_floating_label(), clear_tooltip(), font::get_floating_label_rect(), font::LEFT_ALIGN, font::move_floating_label(), font::NORMAL_COLOR, screen_area(), font::floating_label::set_alignment(), font::floating_label::set_bg_color(), font::floating_label::set_border_size(), font::floating_label::set_clip_rect(), font::floating_label::set_color(), font::floating_label::set_font_size(), font::floating_label::set_width(), and font::floating_label::use_markup().

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