The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
tooltips.cpp File Reference
#include "global.hpp"
#include "tooltips.hpp"
#include "floating_label.hpp"
#include "font.hpp"
#include "game_display.hpp"
#include "help/help.hpp"
#include "marked-up_text.hpp"
#include "resources.hpp"
#include "video.hpp"
#include <SDL.h>
Include dependency graph for tooltips.cpp:

Go to the source code of this file.

Namespaces

 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)
 
bool tooltips::update_tooltip (int id, const SDL_Rect &rect, const std::string &message, const std::string &action, bool use_markup)
 
bool tooltips::update_tooltip (int id, const SDL_Rect &rect, const std::string &message, const std::string &action, bool use_markup, const surface &foreground)
 
void tooltips::remove_tooltip (int id)
 
int tooltips::add_tooltip (const SDL_Rect &rect, const std::string &message, const std::string &action, bool use_markup, const surface &foreground)
 
void tooltips::process (int mousex, int mousey)
 
bool tooltips::click (int mousex, int mousey)
 

Function Documentation

static void clear_tooltip ( )
static
static void show_tooltip ( const tooltip &  tip)
static