diff src/gtkimhtml.h @ 10526:55e7d72fc09a

[gaim-migrate @ 11843] maquina writes: This patch implements a custom smiley API, and it also implements custom smileys for the msn protocol. As it stands, it is not able to cache custom smileys, and is not able to redefine a custom smiley without opening a new conversation. I modified it quite a bit, and didn't test it at all, so it probably doesn't work anymore. I'm not quite done with it yet either. Also, this is just receiving custom smileys. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 18 Jan 2005 18:31:32 +0000
parents ddea15f4cbc2
children 74180743304a
line wrap: on
line diff
--- a/src/gtkimhtml.h	Tue Jan 18 15:36:39 2005 +0000
+++ b/src/gtkimhtml.h	Tue Jan 18 18:31:32 2005 +0000
@@ -149,6 +149,7 @@
 	gchar *file;
 	GdkPixbufAnimation *icon;
 	gboolean hidden;
+	GdkPixbufLoader *loader;
 };
 
 struct _GtkIMHtmlScalable {
@@ -246,6 +247,18 @@
 GtkWidget *gtk_imhtml_new(void *, void *);
 
 /**
+ * Returns the smiley object associated with the text.
+ *
+ * @param imhtml The GTK IM/HTML.
+ * @param sml    The name of the smiley category.
+ * @param text   The text associated with the smiley.
+ */
+
+GtkIMHtmlSmiley *gtk_imhtml_smiley_get(GtkIMHtml * imhtml,
+                                        const gchar * sml, const gchar * text);
+
+
+/**
  * Associates a smiley with a GTK IM/HTML.
  *
  * @param imhtml The GTK IM/HTML.