Namespaces | Functions

tooltips.cpp File Reference

#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"
Include dependency graph for tooltips.cpp:

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)

Function Documentation

static void clear_tooltip (  )  [static]

Definition at line 54 of file tooltips.cpp.

References font::remove_floating_label().

Referenced by show_tooltip().

Here is the call graph for this function:

Here is the caller graph for this function:

static void show_tooltip ( const tooltip &  tip  )  [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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