Add Fl::version() and Fl::event() methods.

Doco updates (use <!-- NEW PAGE --> instead of <HR break>, plus more
Fl_Text_Buffer docos)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2001-11-28 18:00:17 +00:00
parent f10b778a56
commit d211b12af7
60 changed files with 181 additions and 258 deletions
+9 -4
View File
@@ -1,5 +1,5 @@
//
// "$Id: Fl.H,v 1.8.2.11.2.4 2001/11/27 17:44:06 easysw Exp $"
// "$Id: Fl.H,v 1.8.2.11.2.5 2001/11/28 18:00:16 easysw Exp $"
//
// Main header file for the Fast Light Tool Kit (FLTK).
//
@@ -45,6 +45,7 @@ class Fl {
public: // should be private!
static FL_EXPORT int e_number;
static FL_EXPORT int e_x,e_y,e_x_root,e_y_root;
static FL_EXPORT int e_dx, e_dy;
static FL_EXPORT int e_state;
@@ -68,6 +69,9 @@ public: // should be private!
public:
// API version number
static double version();
// argument parsers:
static FL_EXPORT int arg(int, char**, int&);
static FL_EXPORT int args(int, char**, int&, int (*)(int,char**,int&) = 0);
@@ -119,8 +123,9 @@ public:
static FL_EXPORT void grab(Fl_Window*);
// event information:
static FL_EXPORT int event_x() {return e_x;}
static FL_EXPORT int event_y() {return e_y;}
static FL_EXPORT int event() {return e_number;}
static FL_EXPORT int event_x() {return e_x;}
static FL_EXPORT int event_y() {return e_y;}
static FL_EXPORT int event_x_root() {return e_x_root;}
static FL_EXPORT int event_y_root() {return e_y_root;}
static FL_EXPORT void get_mouse(int &,int &);
@@ -220,5 +225,5 @@ public:
#endif
//
// End of "$Id: Fl.H,v 1.8.2.11.2.4 2001/11/27 17:44:06 easysw Exp $".
// End of "$Id: Fl.H,v 1.8.2.11.2.5 2001/11/28 18:00:16 easysw Exp $".
//