From a6163888f3c56123b1db313743c6147ba498732c Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Fri, 8 Aug 2014 14:42:07 +0300 Subject: Add third_party libs --- .../fltk-1.1.10/documentation/Fl_Tooltip.html | 116 +++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 third_party/windows/fltk-1.1.10/documentation/Fl_Tooltip.html (limited to 'third_party/windows/fltk-1.1.10/documentation/Fl_Tooltip.html') diff --git a/third_party/windows/fltk-1.1.10/documentation/Fl_Tooltip.html b/third_party/windows/fltk-1.1.10/documentation/Fl_Tooltip.html new file mode 100644 index 0000000..c671e7e --- /dev/null +++ b/third_party/windows/fltk-1.1.10/documentation/Fl_Tooltip.html @@ -0,0 +1,116 @@ + + + Fl_Tooltip + + + + + +

class Fl_Tooltip

+
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +

The Fl_Tooltip class provides tooltip support for +all FLTK widgets.

+ +

Methods

+ + + +

void delay(float f);
+float delay();

+ +

Gets or sets the tooltip delay. The default delay is 1.0 seconds. + +

int enabled();

+ +

Returns non-zero if tooltips are enabled. + +

void enable(int b = 1);

+ +

Enables tooltips on all widgets (or disables if b is false). + +

void disable();

+ +

Same as enable(0), disables tooltips on all widgets. + +

void enter(Fl_Widget *w);

+ +

This method is called when the mouse pointer enters a +widget. + +

void enter_area(Fl_Widget* widget, int x,int y,int w,int h, const char* tip)

+ +

You may be able to use this to provide tooltips for internal pieces +of your widget. Call this after setting Fl::belowmouse() to +your widget (because that calls the above enter() method). Then figure +out what thing the mouse is pointing at, and call this with the widget +(this pointer is used to remove the tooltip if the widget is deleted +or hidden, and to locate the tooltip), the rectangle surrounding the +area, relative to the top-left corner of the widget (used to calculate +where to put the tooltip), and the text of the tooltip (which must be +a pointer to static data as it is not copied). + +

void exit(Fl_Widget *w);

+ +

This method is called when the mouse pointer leaves a +widget. + +

void color(unsigned c);
+Fl_Color color();

+ +

Gets or sets the background color for tooltips. The default +background color is a pale yellow. + +

void font(int i);
+int font();

+ +

Gets or sets the typeface for the tooltip text. + +

void hoverdelay(float f);
+float hoverdelay();

+ +

Gets or sets the tooltip hover delay, the delay between tooltips. +The default delay is 0.2 seconds. + +

void size(int s);
+int size();

+ +

Gets or sets the size of the tooltip text. + +

void textcolor(unsigned c);
+Fl_Color textcolor();

+ +

Gets or sets the color of the text in the tooltip. The default is +black. + + + -- cgit v1.3.1