/[xforms]/xforms/lib/thumbwheel.c
ViewVC logotype

Diff of /xforms/lib/thumbwheel.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by leeming, Sun Apr 6 15:52:40 2003 UTC revision 1.2 by leeming, Tue Apr 8 21:19:52 2003 UTC
# Line 222  handle(FL_OBJECT * ob, int ev, int mx, i Line 222  handle(FL_OBJECT * ob, int ev, int mx, i
222          sp->oldmx = mx;          sp->oldmx = mx;
223          sp->oldmy = my;          sp->oldmy = my;
224          return fl_valuator_handle_drag(ob, value);          return fl_valuator_handle_drag(ob, value);
225      case FL_KEYBOARD:      case FL_KEYPRESS:
226          value = sp->val;          value = sp->val;
227          if (IsHome(key))          if (IsHome(key))
228              value = 0.5f * (sp->min + sp->max);              value = 0.5f * (sp->min + sp->max);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26