Re: XForms: redrawing and freezing

Paul Barton-Davis (pbd@Op.Net)
Mon, 20 Jul 1998 21:44:44 -0300

# To subscribers of the xforms list from Paul Barton-Davis <pbd@Op.Net> :

[ unfreeze just redraws the form into an offscreen Pixmap and then bitblts
the form onto the screen. ]

Ah. Well, that would explain it, wouldn't it. Instead of just redrawing
the objects that were (or could have been) marked as altered, it
redraws the form. It would be a more efficient implementation if
the flag in an FL_FORM caused redraws to tag the object as requiring
a redraw when freeze was in effect, and only these objects were
redrawn when unfreeze was called. The problem with the current approach isn't
really visible with "reasonable" numbers of objects in the window,
but really bites with something like my sequencer application.

--p
_________________________________________________
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/