diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-12 20:16:07 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-12 20:16:07 +0000 |
| commit | 9e2f36201612e978f2f518ed7220af42d06264cd (patch) | |
| tree | 2b48c0e01c7212fdde803f6d9382ea0f32f55ec4 /FL | |
| parent | aab290b5039910e59ce7aaf0196b4e03aa061600 (diff) | |
Move ENTER/LEAVE handling to Fl_Box so that the default event handler
in Fl_Widget doesn't interfere with existing widgets.
Remove unnecessary strcasecmp defines.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2076 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Box.H | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/FL/Fl_Box.H b/FL/Fl_Box.H index 3425a6a7e..82aa32b1f 100644 --- a/FL/Fl_Box.H +++ b/FL/Fl_Box.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Box.H,v 1.5.2.4.2.1 2002/01/01 15:11:27 easysw Exp $" +// "$Id: Fl_Box.H,v 1.5.2.4.2.2 2002/04/12 20:16:07 easysw Exp $" // // Box header file for the Fast Light Tool Kit (FLTK). // @@ -32,16 +32,18 @@ class Fl_Box : public Fl_Widget { protected: - FL_EXPORT void draw(); + FL_EXPORT void draw(); public: - FL_EXPORT Fl_Box(int x, int y, int w, int h, const char *l=0) + FL_EXPORT Fl_Box(int x, int y, int w, int h, const char *l=0) : Fl_Widget(x,y,w,h,l) {} - FL_EXPORT Fl_Box(Fl_Boxtype b, int x, int y, int w, int h, const char *l) + FL_EXPORT Fl_Box(Fl_Boxtype b, int x, int y, int w, int h, const char *l) : Fl_Widget(x,y,w,h,l) {box(b);} + + virtual FL_EXPORT int handle(int); }; #endif // -// End of "$Id: Fl_Box.H,v 1.5.2.4.2.1 2002/01/01 15:11:27 easysw Exp $". +// End of "$Id: Fl_Box.H,v 1.5.2.4.2.2 2002/04/12 20:16:07 easysw Exp $". // |
