Re: XForms: slider fine tuning weirdness

Trent Piepho (xyzzy@u.washington.edu)
Tue, 4 Nov 1997 01:36:35 -0800 (PST)

To subscribers of the xforms list from Trent Piepho <xyzzy@u.washington.edu> :

On Tue, 4 Nov 1997, Marco Haverkate wrote:
> To subscribers of the xforms list from Marco Haverkate <marco@xirion.nl> :
>
> >
> > To subscribers of the xforms list from Trent Piepho <xyzzy@u.washington.edu> :
> > for(;;) fl_do_forms();
> >
> Don't know if this is the cause, but the above line SHOULD just be:
> fl_do_forms() (READ the manual)

Check that manual again. fl_do_forms returns an FL_OBJECT* for the object
that had some action occur on it, if there is no callback. Since I didn't
have callbacks in my example program to make it smaller, I needed to keep
calling fl_do_forms so the program won't exit. Try making that change, and
you will see what I mean. The program will exit as soon as the slider value
is changed and the mouse is released. This isn't the problem. The problem
is that the shift-mouse behavior on sliders is very odd.

|Gazing up to the breeze of the heavens \ on a quest, meaning, reason |
|came to be, how it begun \ all alone in the family of the sun |
|curiosity teasing everyone \ on our home, third stone from the sun. |
|Trent Piepho (xyzzy@u.washington.edu) -- Metallica |
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/