Skip to content

Commit

Permalink
Set when() value of child input widget in Fl_Value_Input widget.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Feb 18, 2002
1 parent 71f9afb commit 5ccf911
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Fl_Value_Input.cxx
@@ -1,5 +1,5 @@
//
// "$Id: Fl_Value_Input.cxx,v 1.6.2.5.2.2 2002/01/01 15:11:31 easysw Exp $"
// "$Id: Fl_Value_Input.cxx,v 1.6.2.5.2.3 2002/02/18 13:25:26 easysw Exp $"
//
// Value input widget for the Fast Light Tool Kit (FLTK).
//
Expand Down Expand Up @@ -73,6 +73,7 @@ int Fl_Value_Input::handle(int event) {
int delta;
int mx = Fl::event_x();
static int ix, drag;
input.when(when());
switch (event) {
case FL_PUSH:
if (!step()) goto DEFAULT;
Expand Down Expand Up @@ -128,5 +129,5 @@ Fl_Value_Input::Fl_Value_Input(int x, int y, int w, int h, const char* l)
}

//
// End of "$Id: Fl_Value_Input.cxx,v 1.6.2.5.2.2 2002/01/01 15:11:31 easysw Exp $".
// End of "$Id: Fl_Value_Input.cxx,v 1.6.2.5.2.3 2002/02/18 13:25:26 easysw Exp $".
//

0 comments on commit 5ccf911

Please sign in to comment.