Mercurial > pidgin.yaz
comparison pidgin/gtkutils.h @ 18212:77b9ceb83426
Rounds icons in the infopane. Since gdk_pixbuf_animation_get_static_image seems to return pixbufs without alpha channels, this only rounds animated icons that aren't transparent.
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 20 Jun 2007 21:00:34 +0000 |
parents | afeb35205669 |
children | 16bf31872b7a |
comparison
equal
deleted
inserted
replaced
18211:84b577372b90 | 18212:77b9ceb83426 |
---|---|
563 * @param pixbuf The pixbug | 563 * @param pixbuf The pixbug |
564 * @return TRUE if the pixbuf is opaque around the edges, FALSE otherwise | 564 * @return TRUE if the pixbuf is opaque around the edges, FALSE otherwise |
565 */ | 565 */ |
566 gboolean pidgin_gdk_pixbuf_is_opaque(GdkPixbuf *pixbuf); | 566 gboolean pidgin_gdk_pixbuf_is_opaque(GdkPixbuf *pixbuf); |
567 | 567 |
568 /** | |
569 * Rounds the corners of a 32x32 GdkPixbuf in place | |
570 * | |
571 * @param pixbuf The buddy icon to transform | |
572 */ | |
573 void pidgin_gdk_pixbuf_make_round(GdkPixbuf *pixbuf); | |
574 | |
568 #if !GTK_CHECK_VERSION(2,2,0) | 575 #if !GTK_CHECK_VERSION(2,2,0) |
569 /** | 576 /** |
570 * This is copied from Gtk to support Gtk 2.0 | 577 * This is copied from Gtk to support Gtk 2.0 |
571 * | 578 * |
572 * Creates a new path with @a first_index and the varargs as indices. | 579 * Creates a new path with @a first_index and the varargs as indices. |