Hey, I have an issue loading an application icon in Linux using X11 and the libxpm-dev package. When I load my application the icon background is black instead of transparent.
Here is my code: .. #include "icon1.xpm" Pixmap p, mask; XpmCreatePixmapFromData(fl_display, DefaultRootWindow(fl_display), icon1, &p, &mask, NULL); win->icon((char *)p); .. I've opened the icon in gimp and checked the xpm file in vim, both confirm that the background is set to be transparent. Bellow are the first 5 pixels and defined as the colour none: "&. c None", /* pixels */ "&.&.&.&.&.&. Could any1 advise me on how to load the application icon with a transparent background? Cheers, Django _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

