diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-09-14 14:11:06 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-09-14 14:11:06 +0000 |
| commit | f6769cebc6734ac38b4732da4997751f6d4cc94c (patch) | |
| tree | 147f947ac1186db68ce2ec628833751579bd7b7d /FL | |
| parent | 8c56fa75c7d2c865778a0e35e242536063acfb4c (diff) | |
Add Fl_Tooltip::hoverdelay() method and code (STR #126)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Tooltip.H | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/FL/Fl_Tooltip.H b/FL/Fl_Tooltip.H index ce7b0721a..6582087b2 100644 --- a/FL/Fl_Tooltip.H +++ b/FL/Fl_Tooltip.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Tooltip.H,v 1.16.2.10 2003/01/30 21:40:28 easysw Exp $" +// "$Id: Fl_Tooltip.H,v 1.16.2.11 2003/09/14 14:11:06 easysw Exp $" // // Tooltip header file for the Fast Light Tool Kit (FLTK). // @@ -33,6 +33,8 @@ class FL_EXPORT Fl_Tooltip { public: static float delay() { return delay_; } static void delay(float f) { delay_ = f; } + static float hoverdelay() { return hoverdelay_; } + static void hoverdelay(float f) { hoverdelay_ = f; } static int enabled() { return enabled_; } static void enable(int b = 1) { enabled_ = b;} static void disable() { enabled_ = 0; } @@ -52,6 +54,7 @@ public: static Fl_Color textcolor() { return (Fl_Color)textcolor_; } private: static float delay_; + static float hoverdelay_; static int enabled_; static unsigned color_; static unsigned textcolor_; @@ -63,5 +66,5 @@ private: #endif // -// End of "$Id: Fl_Tooltip.H,v 1.16.2.10 2003/01/30 21:40:28 easysw Exp $". +// End of "$Id: Fl_Tooltip.H,v 1.16.2.11 2003/09/14 14:11:06 easysw Exp $". // |
