summaryrefslogtreecommitdiff
path: root/src/Fl_Repeat_Button.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-03 05:11:34 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-03 05:11:34 +0000
commitd3acd6c475de7fb811c4bde93ca735e3526ad82f (patch)
tree53f8efcb6ca30eaa0d0528460446e230510cbf26 /src/Fl_Repeat_Button.cxx
parent7495dff2470310aa7824c6982df9622a975a8f38 (diff)
Add Fl::visible_focus() method.
Add optional "draw_symbols" argument to fl_draw and fl_measure functions. Fl_Repeat_Button didn't handle keyboard focus properly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Repeat_Button.cxx')
-rw-r--r--src/Fl_Repeat_Button.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Repeat_Button.cxx b/src/Fl_Repeat_Button.cxx
index dbe60f473..88e4f44a9 100644
--- a/src/Fl_Repeat_Button.cxx
+++ b/src/Fl_Repeat_Button.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4 2001/01/22 15:13:40 easysw Exp $"
+// "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4.2.1 2001/11/03 05:11:34 easysw Exp $"
//
// Repeat button widget for the Fast Light Tool Kit (FLTK).
//
@@ -44,6 +44,7 @@ int Fl_Repeat_Button::handle(int event) {
newval = 0; goto J1;
case FL_PUSH:
case FL_DRAG:
+ take_focus();
newval = Fl::event_inside(this);
J1:
if (value(newval)) {
@@ -61,5 +62,5 @@ int Fl_Repeat_Button::handle(int event) {
}
//
-// End of "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4 2001/01/22 15:13:40 easysw Exp $".
+// End of "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4.2.1 2001/11/03 05:11:34 easysw Exp $".
//