aboutsummaryrefslogtreecommitdiff
path: root/src/tipwin.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tipwin.hh')
-rw-r--r--src/tipwin.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tipwin.hh b/src/tipwin.hh
index 77ffa60e..d3aeeac5 100644
--- a/src/tipwin.hh
+++ b/src/tipwin.hh
@@ -3,6 +3,7 @@
#include <FL/Fl_Menu_Window.H>
#include <FL/Fl_Button.H>
+#include <FL/Fl_Input.H>
/*
@@ -54,5 +55,20 @@ public:
};
+/*
+ * An Input with custom tooltip window
+ */
+class TipWinInput : public Fl_Input {
+ char *mytooltip;
+ TipWin *tipwin;
+public:
+ TipWinInput (int x, int y, int w, int h, const char* l=0);
+ ~TipWinInput(void);
+ virtual int handle(int e);
+
+ void set_tooltip(const char *s);
+};
+
+
#endif // __TIPWIN_HH__