00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TOOLTIPS_HPP_INCLUDED
00016 #define TOOLTIPS_HPP_INCLUDED
00017
00018 #include "SDL.h"
00019
00020 #include <string>
00021
00022 class CVideo;
00023
00024 namespace tooltips {
00025
00026 struct manager
00027 {
00028 manager(CVideo& video);
00029 ~manager();
00030 };
00031
00032 void clear_tooltips();
00033 void clear_tooltips(const SDL_Rect& rect);
00034 void add_tooltip(const SDL_Rect& rect, const std::string& message);
00035 void process(int mousex, int mousey);
00036
00037 }
00038
00039 #endif