From fd0853d2623dd278b08288331ed42e3be59252fb Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:00:17 +0200 Subject: 2.2 --- shared/customTooltip.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 shared/customTooltip.h (limited to 'shared/customTooltip.h') diff --git a/shared/customTooltip.h b/shared/customTooltip.h new file mode 100644 index 00000000..886c6130 --- /dev/null +++ b/shared/customTooltip.h @@ -0,0 +1,23 @@ +#ifndef CUSTOMTOOLTIP_H_INCLUDED +#define CUSTOMTOOLTIP_H_INCLUDED + +#include + +class PopupFrameGenerated; + + +class CustomTooltip +{ +public: + CustomTooltip(); + ~CustomTooltip(); + + void show(const wxString& text, wxPoint pos, const wxBitmap* bmp = NULL); //absolute screen coordinates + void hide(); + +private: + PopupFrameGenerated* tipWindow; + const wxBitmap* lastBmp; //buffer last used bitmap pointer +}; + +#endif // CUSTOMTOOLTIP_H_INCLUDED -- cgit