[XForms] Enable FL_FREE objects to optimize their drawing

Angus Leeming angus.leeming at btopenworld.com
Tue May 4 12:30:59 EDT 2004


The attached patch passes the associated (XEvent * xev) to 
fl_handle_object on an FL_DRAW event. This XEvent * is not used at 
all by any of xforms' "native" widgets, but an FL_FREE object is able 
to make use of this info to redraw only the part of the window that 
has changed.

An example being the FL_FREE object used by LyX for the main screen.

I can see no harm in adding this patch as it does not change existing 
behaviour at all. Thoughts?

Angus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xforms-redraw.diff
Type: text/x-diff
Size: 4165 bytes
Desc: not available
Url : attachments/20040504/e1bb529d/attachment-0010.bin 


More information about the Xforms mailing list