diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-11-14 21:05:22 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-11-14 21:05:22 +0000 |
| commit | 7a89877eee6709c1ec042351e63ad964415141f0 (patch) | |
| tree | 9e35e7482df08dec4e1f9e7dd2d95a84b6493bc8 /src/Fl_File_Input.cxx | |
| parent | 0bd7960c79b4eaafd0f7b92515f75bb1a99350c0 (diff) | |
Add const char * add methods to Fl_Check_Browser.
Fix cursor code in text widgets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Input.cxx')
| -rw-r--r-- | src/Fl_File_Input.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Fl_File_Input.cxx b/src/Fl_File_Input.cxx index e21278e2a..84593e630 100644 --- a/src/Fl_File_Input.cxx +++ b/src/Fl_File_Input.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_File_Input.cxx,v 1.1.2.6 2002/08/09 01:09:48 easysw Exp $" +// "$Id: Fl_File_Input.cxx,v 1.1.2.7 2002/11/14 21:05:21 easysw Exp $" // // File_Input header file for the Fast Light Tool Kit (FLTK). // @@ -26,6 +26,7 @@ #include <FL/Fl.H> #include <FL/Fl_File_Input.H> +#include <FL/Fl_Window.H> #include <FL/fl_draw.H> #include <stdio.h> #include "flstring.h" @@ -184,8 +185,8 @@ Fl_File_Input::handle(int event) // I - Event case FL_MOVE : case FL_ENTER : if (active_r()) { - if (Fl::event_y() < (y() + DIR_HEIGHT)) fl_cursor(FL_CURSOR_DEFAULT); - else fl_cursor(FL_CURSOR_INSERT); + if (Fl::event_y() < (y() + DIR_HEIGHT)) window()->cursor(FL_CURSOR_DEFAULT); + else window()->cursor(FL_CURSOR_INSERT); } return 1; @@ -270,5 +271,5 @@ Fl_File_Input::handle_button(int event) // I - Event // -// End of "$Id: Fl_File_Input.cxx,v 1.1.2.6 2002/08/09 01:09:48 easysw Exp $". +// End of "$Id: Fl_File_Input.cxx,v 1.1.2.7 2002/11/14 21:05:21 easysw Exp $". // |
