summaryrefslogtreecommitdiff
path: root/src/Fl_Input_.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-30 15:10:32 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-30 15:10:32 +0000
commit7bde142766976ad98b3674e863991e3a070fa2f5 (patch)
treeb4b437ef727e7800cc072afd241d3bd6c5481f6c /src/Fl_Input_.cxx
parent35308e5c22569135c877d5b1a204ac169b73d70c (diff)
Fl_Input_ and Fl_Text_Display now change the mouse pointer to the I beam
when the mouse enters them... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input_.cxx')
-rw-r--r--src/Fl_Input_.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index 04e456258..c27752dc1 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.16 2002/07/29 22:55:33 easysw Exp $"
+// "$Id: Fl_Input_.cxx,v 1.21.2.11.2.17 2002/07/30 15:10:32 easysw Exp $"
//
// Common input widget routines for the Fast Light Tool Kit (FLTK).
//
@@ -653,7 +653,11 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) {
switch (event) {
case FL_ENTER:
+ fl_cursor(FL_CURSOR_INSERT);
+ return 1;
+
case FL_LEAVE:
+ fl_cursor(FL_CURSOR_DEFAULT);
return 1;
case FL_FOCUS:
@@ -840,5 +844,5 @@ Fl_Input_::~Fl_Input_() {
}
//
-// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.16 2002/07/29 22:55:33 easysw Exp $".
+// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.17 2002/07/30 15:10:32 easysw Exp $".
//