Re: XForms: redrawing and freezing

Steve Lamont (spl@szechuan.ucsd.edu)
Mon, 20 Jul 98 15:23:18 PDT

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

> I don't think this will work for this application, but while you're
> here: where are the docs on TabbedFolders ? There's nothing in the
> copy of the manual I found online, and fdesign doesn't seem to do much
> with them either.

The 0.88.1 manual has a section on them.

> This seems unfortunate. What is it about freeze/unfreeze that causes a
> redraw of the entire form when no such redraw occurs when they are not
> used ? Is there some attempt at a heuristic along the lines of:
>
> if (%-age of objects altered > X-percent) {
> redraw_form ();
> } else {
> foreach (object altered) {
> redraw_object ();
> }
> }

There's not rule as such.

fl_freeze_form() basically just sets a flag in the FL_FORM structure
that indicates that no drawing activity is to take place. When
fl_unfreeze_form() is called then XForms redraws the form into an
offscreen Pixmap and then bitblts the form onto the screen.

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/