diff --git a/CHANGES b/CHANGES index 88b6bab28..aa2524122 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.5rc1 + - Added new hoverdelay() to Fl_Tooltip to control how + quickly recent tooltips appear (STR #126) - FLUID now sets the size range when a window is shown. This seems to be necessary with some window managers (STR #166) 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 $". // diff --git a/documentation/Fl_Tooltip.html b/documentation/Fl_Tooltip.html index 9ac2a2165..f44c2f0c8 100644 --- a/documentation/Fl_Tooltip.html +++ b/documentation/Fl_Tooltip.html @@ -36,6 +36,7 @@ all FLTK widgets.
Gets or sets the background color for tooltips. The default background color is a pale yellow. -
Gets or sets the color of the text in the tooltip. The default is -black. -
Gets or sets the typeface for the tooltip text. +
Gets or sets the tooltip hover delay, the delay between tooltips. +The default delay is 0.2 seconds. +
Gets or sets the size of the tooltip text. +
Gets or sets the color of the text in the tooltip. The default is +black. +