Re: FVWM: Fvwm - xpm icons

From: Chris Rode <crode_at_iastate.edu>
Date: Tue, 20 Feb 1996 12:26:27 CST

d.kennedy_at_queens-belfast.ac.uk writes:

} I'm having a bit of trouble with xpm icons.
} What is the most popular utility for preserving shaped xpm
} icons or making them from transparent gifs for example?
}
} Xv tends to leave a lovely rectangle of a solid garish random
} colour about my nice new icons. Any help appreciated.

bring the xpm file up in a text editor, locate the character
representing the background color, and change the color entry to "none".
i.e.,

/* XPM */
static char *MtDew[] = {
/* width height num_colors chars_per_pixel */
" 21 38 9 1",
/* colors */
". c none",
"# c #808080",

where a . makes up the backround in this particular image...

--chris.

--
chris rode - crode_at_iastate.edu                -- Help Room Consultant
http://www.public.iastate.edu/~crode/         -- 138 Durham Center, 294-1314
"why don't we just have a stupidity    depeche mode, erasure, moby, new order,
 tax? just tax the stupid people!"     pet shop boys and recoil rock my world.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Feb 20 1996 - 12:26:52 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST