comparison src/gtkimhtml.h @ 6982:083d1e4a9c78

[gaim-migrate @ 7538] This is Mr. Holland's Opus. And by Mr. Holland I mean Robot101. He rewrote the coreish IM image support so that the binary data gets ripped out in the prpl and put in an imgstore instead of just being passed in the same huge as char string as the actual message. This is good because it's prpl agnostic, or something. It also means we don't have a silly length of "-1" with pretty much every send or receive IM function. It should be crash free, bug free, and memleak free, but additional testing is always a good thing. If you like good stuff then you'll love this patch. But don't take my word for it--ba dun dunt! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 27 Sep 2003 19:17:21 +0000
parents 782907a6ae65
children c7f0a4397d9e
comparison
equal deleted inserted replaced
6981:abd3c684da31 6982:083d1e4a9c78
142 142
143 void gtk_imhtml_show_smileys (GtkIMHtml *imhtml, gboolean show); 143 void gtk_imhtml_show_smileys (GtkIMHtml *imhtml, gboolean show);
144 144
145 void gtk_imhtml_show_comments (GtkIMHtml *imhtml, gboolean show); 145 void gtk_imhtml_show_comments (GtkIMHtml *imhtml, gboolean show);
146 146
147 GString* gtk_imhtml_append_text (GtkIMHtml *imhtml, 147 #define gtk_imhtml_append_text(x, y, z) \
148 const gchar *text, gint len, GtkIMHtmlOptions options); 148 gtk_imhtml_append_text_with_images(x, y, z, NULL)
149
150 GString* gtk_imhtml_append_text_with_images (GtkIMHtml *imhtml,
151 const gchar *text,
152 GtkIMHtmlOptions options,
153 GSList *images);
149 154
150 void gtk_imhtml_clear (GtkIMHtml *imhtml); 155 void gtk_imhtml_clear (GtkIMHtml *imhtml);
151 void gtk_imhtml_page_up (GtkIMHtml *imhtml); 156 void gtk_imhtml_page_up (GtkIMHtml *imhtml);
152 void gtk_imhtml_page_down (GtkIMHtml *imhtml); 157 void gtk_imhtml_page_down (GtkIMHtml *imhtml);
153 158
154 GtkIMHtmlScalable *gtk_imhtml_scalable_new(); 159 GtkIMHtmlScalable *gtk_imhtml_scalable_new();
155 GtkIMHtmlScalable *gtk_imhtml_image_new(GdkPixbuf *img, gchar *filename); 160 GtkIMHtmlScalable *gtk_imhtml_image_new(GdkPixbuf *img, const gchar *filename);
156 void gtk_imhtml_image_free(GtkIMHtmlScalable *); 161 void gtk_imhtml_image_free(GtkIMHtmlScalable *);
157 void gtk_imhtml_image_scale(GtkIMHtmlScalable *, int, int); 162 void gtk_imhtml_image_scale(GtkIMHtmlScalable *, int, int);
158 void gtk_imhtml_image_add_to(GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); 163 void gtk_imhtml_image_add_to(GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *);
159 164
160 GtkIMHtmlScalable *gtk_imhtml_hr_new(); 165 GtkIMHtmlScalable *gtk_imhtml_hr_new();