summaryrefslogtreecommitdiff
path: root/src/Fl_Input_.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-11-14 21:05:22 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-11-14 21:05:22 +0000
commit7a89877eee6709c1ec042351e63ad964415141f0 (patch)
tree9e35e7482df08dec4e1f9e7dd2d95a84b6493bc8 /src/Fl_Input_.cxx
parent0bd7960c79b4eaafd0f7b92515f75bb1a99350c0 (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_Input_.cxx')
-rw-r--r--src/Fl_Input_.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index 1c7034279..1ca17f358 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Input_.cxx,v 1.21.2.11.2.24 2002/08/13 22:43:59 spitzak Exp $"
+// "$Id: Fl_Input_.cxx,v 1.21.2.11.2.25 2002/11/14 21:05:21 easysw Exp $"
//
// Common input widget routines for the Fast Light Tool Kit (FLTK).
//
@@ -30,6 +30,7 @@
#include <FL/Fl.H>
#include <FL/Fl_Input_.H>
+#include <FL/Fl_Window.H>
#include <FL/fl_draw.H>
#include <FL/fl_ask.H>
#include <math.h>
@@ -655,11 +656,11 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) {
switch (event) {
case FL_ENTER:
- if (active_r()) fl_cursor(FL_CURSOR_INSERT);
+ if (active_r()) window()->cursor(FL_CURSOR_INSERT);
return 1;
case FL_LEAVE:
- if (active_r()) fl_cursor(FL_CURSOR_DEFAULT);
+ if (active_r()) window()->cursor(FL_CURSOR_DEFAULT);
return 1;
case FL_FOCUS:
@@ -851,5 +852,5 @@ Fl_Input_::~Fl_Input_() {
}
//
-// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.24 2002/08/13 22:43:59 spitzak Exp $".
+// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.25 2002/11/14 21:05:21 easysw Exp $".
//