Re: XForms: Pixmaps being slow...

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 5 Nov 97 10:27:29 PST

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

> Thanks for the input. Could I convert my xpm's to Pixmaps with
> fl_create_from pixmapdata(...)
> then use fl_set_pixmapbutton_pixmap(FL_OBJECT *, Pixmap id, Pixmap mask)
> to do about the same thing. I presume this would be a better approach.

Yes, that would probably do it.

What you want to do is avoid converting the XPM data every time --
this is the killer since it involves a rather heavy trip to the server
(always to be avoided when possible).

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/