diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:00:17 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:00:17 +0200 |
commit | fd0853d2623dd278b08288331ed42e3be59252fb (patch) | |
tree | a7645daeaef8bdbed064faf4eb88e72cee58726c /shared/customTooltip.h | |
parent | 2.1 (diff) | |
download | FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.gz FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.bz2 FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.zip |
2.2
Diffstat (limited to 'shared/customTooltip.h')
-rw-r--r-- | shared/customTooltip.h | 23 |
1 files changed, 23 insertions, 0 deletions
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 <wx/frame.h> + +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 |