The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
tooltips.hpp File Reference
#include <string>
#include "sdl/utils.hpp"
Include dependency graph for tooltips.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tooltips::manager
 

Namespaces

 tooltips
 tooltips.
 

Functions

void tooltips::clear_tooltips ()
 
void tooltips::clear_tooltips (const SDL_Rect &rect)
 
int tooltips::add_tooltip (const SDL_Rect &rect, const std::string &message, const std::string &action, bool use_markup, const surface &foreground)
 
bool tooltips::update_tooltip (int id, const SDL_Rect &rect, const std::string &message, const std::string &action, bool use_markup, const surface &foreground)
 
bool tooltips::update_tooltip (int id, const SDL_Rect &rect, const std::string &message, const std::string &action, bool use_markup)
 
void tooltips::remove_tooltip (int id)
 
void tooltips::process (int mousex, int mousey)
 
bool tooltips::click (int mousex, int mousey)