diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-28 18:00:17 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-28 18:00:17 +0000 |
| commit | d211b12af7662a2ea4a9d98aa2136fd23f52dd96 (patch) | |
| tree | 77fa5294b7aca44f5af0fa6d6015b8757f44c87f /FL | |
| parent | f10b778a5623b81b092626049ba9a463d6213e09 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl.H | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 $". // |
