diff src/gtkutils.h @ 12080:3b52d94437f3

[gaim-migrate @ 14377] The rest of sf patch #1354886, from Sadrul Habib Chowdhury, with an EXTREME amount of changes from me. Come to me, first, if something doesn't work. This allows you to edit the substatuses of a saved status. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Nov 2005 07:20:22 +0000
parents e859c1663a27
children 2cbb5993c819
line wrap: on
line diff
--- a/src/gtkutils.h	Mon Nov 14 06:50:07 2005 +0000
+++ b/src/gtkutils.h	Mon Nov 14 07:20:22 2005 +0000
@@ -362,5 +362,24 @@
  */
 void gaim_gtk_buddy_icon_get_scale_size(GdkPixbuf *buf, GaimBuddyIconSpec *spec, int *width, int *height);
 
+/**
+ * Returns the base image to represent the account, based on
+ * the currently selected theme.
+ *
+ * @param account The account.
+ *
+ * @return The icon.
+ */
+GdkPixbuf *gaim_gtk_create_prpl_icon(GaimAccount *account);
+
+/**
+ * Create a protocol-icon with the status emblem.
+ *
+ * @param account     The account.
+ * @param status_type The status type to set the emblem for.
+ *
+ * @return The icon.
+ */
+GdkPixbuf * gaim_gtk_create_prpl_icon_with_status(GaimAccount *account, GaimStatusType *status_type);
 
 #endif /* _GAIM_GTKUTILS_H_ */