Re: XForms: redrawing and freezing

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 21 Jul 98 06:22:30 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> ... 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. ...

I suppose. However, this would probably complicate the bookkeeping
and have a negative effect on performance.

Consider, for example, an instance where during the freeze period you
hide one object and add another in its place. The library would have
to clear the area where the old object was and draw the new one.
Overlapping objects would be complicated -- adding a box around
another object (admittedly an unlikely case) would be messy -- you'd
have to analyze the geometry and positions of every object to make
sure that you weren't unintentionally overwriting something.

spl

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