Re: Question about setting icons..

Marisa Giancarla (marisa@andromedia.com)
Wed, 16 Apr 1997 11:31:44 -0700 (PDT)

To subscribers of the xforms list from Marisa Giancarla <marisa@andromedia.com> :

On 16-Apr-97 Tristan Savatier wrote:
> Pixmap icon_pixmap; /* Icon for closed windows */
>
>#include "mpegtv.xbm"
> icon_pixmap = fl_create_from_bitmapdata(fl_default_win(), mpegtv_bits,
>mpegtv_width, mpegtv_height);
> fl_set_form_icon(Controls->controls, icon_pixmap, 0);

Great! Thanks. I didn't have a problem with creating the icon graphics,
just in figuring out how to come up with the Pixmap structure. How would I go
about setting the icon for other forms (my app could potentially have 5 or 6
windows open at once, and I want them all to share the same icon).
Is there a similar way to come up with the "mask"?

Marisa

----
|\ __
| \ Marisa Giancarla \ /
|__\_ 545 Mission St., Floor 2 \/
| \ NDROMEDIA: San Francisco, CA 94105
KNOW YOUR S!TE [ finger marisa@andromedia.com for PGP key ]
_________________________________________________
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/xforms-archive/