The Battle for Wesnoth  1.17.21+dev
Classes | Namespaces | Functions
tooltips.hpp File Reference
#include "gui/core/top_level_drawable.hpp"
#include "sdl/rect.hpp"
#include <string>
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.


class  tooltips::manager




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