gaim/www

update tags
default tip
2019-09-10, convert-repo
7d915c997ccd
update tags
<!--#include virtual="/header.shtml"-->
<h1>GdkPixbuf Tests</h1>
<blockquote>
When I was adding buddy icons to Gaim I wrote a quick test program that
used GdkPixbuf. You can get a copy of that program <a href="pixbuf.c">here</a>.
To compile it, run:
<P><code>gcc -o pixbuf pixbuf.c `gdk-pixbuf-config --cflags` `gdk-pixbuf-config
--libs`</code>
<P>Well, as it turns out, it doesn't display the following images very well:
<P><img src="ABpenguinsAIM.gif" alt="animated penguins">
<img src="bf.gif" alt="butterfly">
<img src="ABcherrychopAIM.gif" alt="chopping down a tree">
<P>So I wrote another quick test program to test GTK 2. You can get a copy
of that program <a href="pixbuf2.c">here</a>. To compile it, run:
<P><code>gcc -o pixbuf2 pixbuf2.c `pkg-config gtk+-x11-2.0 --cflags` `pkg-config
gtk+-x11-2.0 --libs`</code>
<P>Turns out I actually didn't need to write it because there's a testanimation
program in the GTK 2 source that does exactly the same thing. Oh well. Anyway,
if you compare the two you'll see that it's much easier to code and displays
better. Such is the power of GTK 2.
</blockquote>
<!--#include virtual="/footer.shtml"-->