summaryrefslogtreecommitdiff
path: root/src/Fl_Input_.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-09-29 22:59:45 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-09-29 22:59:45 +0000
commit72b56edc2940e0279a551fa9182d5ffb16cc1953 (patch)
tree224ee91888baf40fb040e8854d7105885f94ab27 /src/Fl_Input_.cxx
parente7f3ad8691e0d2ef1b9c589d0fe702774182541d (diff)
Tooltips, and more tooltips.
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff. Fix write_properties so it writes tooltips properly from FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 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 cba64c70d..f3fa112f2 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Input_.cxx,v 1.21.2.11 2001/01/22 15:13:39 easysw Exp $"
+// "$Id: Fl_Input_.cxx,v 1.21.2.11.2.1 2001/09/29 22:59:45 easysw Exp $"
//
// Common input widget routines for the Fast Light Tool Kit (FLTK).
//
@@ -670,6 +670,10 @@ void Fl_Input_::maybe_do_callback() {
int Fl_Input_::handletext(int event, int X, int Y, int W, int H) {
switch (event) {
+ case FL_ENTER:
+ case FL_LEAVE:
+ return 1;
+
case FL_FOCUS:
if (mark_ == position_) {
minimal_update(size()+1);
@@ -817,5 +821,5 @@ Fl_Input_::~Fl_Input_() {
}
//
-// End of "$Id: Fl_Input_.cxx,v 1.21.2.11 2001/01/22 15:13:39 easysw Exp $".
+// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.1 2001/09/29 22:59:45 easysw Exp $".
//