mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
Fix tooltips a la 2.0.
Update 1.1 tooltip interface to be identical to the 2.0 interface for most things (no enter_area function right now...) Add localized makedepend files (no system include files, just ../FL/bla.h) so that builds recompile as necessary. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+3
-4
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Widget.H,v 1.6.2.4.2.1 2001/08/01 21:24:48 easysw Exp $"
|
||||
// "$Id: Fl_Widget.H,v 1.6.2.4.2.2 2001/08/02 15:31:59 easysw Exp $"
|
||||
//
|
||||
// Widget header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -27,7 +27,6 @@
|
||||
#define Fl_Widget_H
|
||||
|
||||
#include "Enumerations.H"
|
||||
#include "Fl_Tooltip.H"
|
||||
|
||||
class Fl_Widget;
|
||||
class Fl_Window;
|
||||
@@ -132,7 +131,7 @@ public:
|
||||
uchar labelsize() const {return label_.size;}
|
||||
void labelsize(uchar a) {label_.size=a;}
|
||||
const char *tooltip() const {return tooltip_;}
|
||||
void tooltip(const char *t) {Fl_Tooltip::enable(); tooltip_ = t;}
|
||||
void tooltip(const char *t);
|
||||
Fl_Callback_p callback() const {return callback_;}
|
||||
void callback(Fl_Callback* c, void* p) {callback_=c; user_data_=p;}
|
||||
void callback(Fl_Callback* c) {callback_=c;}
|
||||
@@ -196,5 +195,5 @@ public:
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.1 2001/08/01 21:24:48 easysw Exp $".
|
||||
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.2 2001/08/02 15:31:59 easysw Exp $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user