XForms: Choice of drawing area and update

William Schmitt (wschmitt@pacerinfotec.com)
Thu, 11 Sep 1997 16:27:56 -0400

To subscribers of the xforms list from William Schmitt <wschmitt@pacerinfotec.com> :

To subscribers of the xforms list from wschmitt@pacerinfotec.com (Bill

I am developing an application which will have a drawing area where
simple objects (pixmaps, text boxes, etc.) will move in response to
reading a new position (x, y) for the object from a file. The position
update will occur at a set rate (e.g. once a sec) and all objects on the
drawing area will be moved according to the new positions read for them.

I was wondering two things: what is the best thing to use for the
drawing area and what would be the best method of performing the
position update. It seems to me that a FL_CONTINUOUS_FREE free object
might be used for the drawing area with a handler to update on the
FL_STEP event.

Or should I use an idle callback or a timeout? And for the drawing
area, would a canvas be better? Any suggestions would be appreciated.
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/