diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-28 20:43:44 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-28 20:43:44 +0000 |
| commit | c78dcd55ec0b09329c509668507922683f90aab4 (patch) | |
| tree | eb15853a514fce714728ba7150d010109eb2d083 /FL | |
| parent | 6cb1b5c7bda9211da0dfc9abacbb403791b67cee (diff) | |
More doco updates.
Enable tooltips by default, and don't enable them when setting the
tooltip value, since that will negate any changes a program might
make when displaying the file chooser dialog, etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 4 | ||||
| -rw-r--r-- | FL/Fl.H | 18 | ||||
| -rw-r--r-- | FL/Fl_Widget.H | 6 |
3 files changed, 14 insertions, 14 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 67f49f348..860977f7c 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1,5 +1,5 @@ // -// "$Id: Enumerations.H,v 1.18.2.14.2.7 2001/11/28 15:55:33 easysw Exp $" +// "$Id: Enumerations.H,v 1.18.2.14.2.8 2001/11/28 20:43:44 easysw Exp $" // // Enumerations for the Fast Light Tool Kit (FLTK). // @@ -364,5 +364,5 @@ enum Fl_Damage { #endif // -// End of "$Id: Enumerations.H,v 1.18.2.14.2.7 2001/11/28 15:55:33 easysw Exp $". +// End of "$Id: Enumerations.H,v 1.18.2.14.2.8 2001/11/28 20:43:44 easysw Exp $". // @@ -1,5 +1,5 @@ // -// "$Id: Fl.H,v 1.8.2.11.2.5 2001/11/28 18:00:16 easysw Exp $" +// "$Id: Fl.H,v 1.8.2.11.2.6 2001/11/28 20:43:44 easysw Exp $" // // Main header file for the Fast Light Tool Kit (FLTK). // @@ -24,12 +24,12 @@ // #ifndef Fl_H -#define Fl_H +# define Fl_H -#include "Enumerations.H" -#ifndef Fl_Object -#define Fl_Object Fl_Widget -#endif +# include "Enumerations.H" +# ifndef Fl_Object +# define Fl_Object Fl_Widget +# endif class Fl_Widget; class Fl_Window; @@ -70,7 +70,7 @@ public: // should be private! public: // API version number - static double version(); + static FL_EXPORT double version(); // argument parsers: static FL_EXPORT int arg(int, char**, int&); @@ -222,8 +222,8 @@ public: static int visible_focus() { return visible_focus_; } }; -#endif +#endif // !Fl_H // -// End of "$Id: Fl.H,v 1.8.2.11.2.5 2001/11/28 18:00:16 easysw Exp $". +// End of "$Id: Fl.H,v 1.8.2.11.2.6 2001/11/28 20:43:44 easysw Exp $". // diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 795b72bde..352948488 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Widget.H,v 1.6.2.4.2.10 2001/11/03 05:11:34 easysw Exp $" +// "$Id: Fl_Widget.H,v 1.6.2.4.2.11 2001/11/28 20:43:44 easysw Exp $" // // Widget header file for the Fast Light Tool Kit (FLTK). // @@ -143,7 +143,7 @@ public: void deimage(Fl_Image* a) {label_.deimage=a;} void deimage(Fl_Image& a) {label_.deimage=&a;} const char *tooltip() const {return tooltip_;} - void tooltip(const char *t); + void tooltip(const char *t) {tooltip_=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;} @@ -207,5 +207,5 @@ public: #endif // -// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.10 2001/11/03 05:11:34 easysw Exp $". +// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.11 2001/11/28 20:43:44 easysw Exp $". // |
