Fun desktop integration tasks

Mike Hearn mh at
Sat Nov 27 15:30:06 CST 2004

On Sat, 27 Nov 2004 21:14:33 +0000, Mike Hearn wrote:
> You may be tempted to use eg, libpng to implement this. Don't! Use
> GdkPixbuf instead, stock icons are allowed to be in many formats including
> SVG.

Actually it's probably easier to use the new GTK+ APIs to implement this,
that takes care of not only rendering the image to a raw bitmap you can
then convert to an HICON, but it also implements the icon lookup algorithm
for you. In future it'll probably also implement some fancy caching
mechanism to reduce memory overhead. Might as well get these benefits

thanks -mike

More information about the wine-devel mailing list