Functions | |
| static ttip & | tip () |
| void | show (CVideo &video, const std::string &window_id, const t_string &message, const tpoint &mouse) |
| Shows a tip. | |
| void | remove () |
| Removes a tip. | |
| void gui2::tip::remove | ( | ) |
Removes a tip.
It is safe to call this function when no tip is shown.
| void gui2::tip::show | ( | CVideo & | video, | |
| const std::string & | window_id, | |||
| const t_string & | message, | |||
| const tpoint & | mouse | |||
| ) |
Shows a tip.
The tip is a tooltip or a helptip. One type of tip is shown at the same time, opening a second tip closes the first.
| video | The video which contains the surface to draw upon. | |
| window_id | The id of the window used to show the tip. | |
| message | The message to show in the tip. | |
| mouse | The position of the mouse. |
Referenced by lobby_info::apply_game_filter(), and unit_creator::post_create().

| static ttip& gui2::tip::tip | ( | ) | [static] |
Definition at line 129 of file tip.cpp.
Referenced by gui2::ttitle_screen::pre_show(), and gui2::tcontrol::signal_handler_show_tooltip().

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