diff pidgin/gtkutils.h @ 15439:a415922e2882

merge of '8f5c72b9dbcf628f35e4674469f97b34f9c6fa2c' and 'e082ba7b9cfaf0fef0531d0fe9b54af7831f75df'
author Ethan Blanton <elb@pidgin.im>
date Sun, 28 Jan 2007 01:24:15 +0000
parents 29e443e0613f
children d75099d2567e
line wrap: on
line diff
--- a/pidgin/gtkutils.h	Sat Jan 27 17:46:52 2007 +0000
+++ b/pidgin/gtkutils.h	Sun Jan 28 01:24:15 2007 +0000
@@ -46,6 +46,13 @@
 
 } GaimButtonStyle;
 
+typedef enum
+{
+	PIDGIN_PRPL_ICON_SMALL,
+	PIDGIN_PRPL_ICON_MEDIUM,
+	PIDGIN_PRPL_ICON_LARGE
+} PidginPrplIconSize;
+
 #ifndef _WIN32
 typedef enum
 {
@@ -369,11 +376,7 @@
  * the currently selected theme.
  *
  * @param account      The account.
- * @param scale_factor The amount to scale to the original image.
- *                     The default size is 32x32 pixels.  A scale
- *                     factor of 1 means no scaling will be done.
- *                     A scale factor of 0.5 means the length
- *                     and width will be 16 pixels each.
+ * @param size         The size of the icon to return.
  *
  * @return A newly-created pixbuf with a reference count of 1,
  *         or NULL if any of several error conditions occurred:
@@ -382,7 +385,7 @@
  *         to allocate the image buffer, or the image file
  *         contained invalid data.
  */
-GdkPixbuf *gaim_gtk_create_prpl_icon(GaimAccount *account, double scale_factor);
+GdkPixbuf *gaim_gtk_create_prpl_icon(GaimAccount *account, PidginPrplIconSize size);
 
 /**
  * Create a protocol icon with the status emblem overlayed in