mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
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
This commit is contained in:
+2
-2
@@ -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 $".
|
||||
//
|
||||
|
||||
+3
-3
@@ -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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user