Mercurial > pidgin.yaz
diff pidgin/gtkimhtml.c @ 32745:1cec4425d0cc
Hide unused gtkimhtml structs (aka, the easy ones).
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 15 Oct 2011 23:11:35 +0000 |
parents | 02a2e8183b1d |
children | 4a34689eeb33 |
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c Fri Oct 14 19:24:43 2011 +0000 +++ b/pidgin/gtkimhtml.c Sat Oct 15 23:11:35 2011 +0000 @@ -83,6 +83,36 @@ GtkTextMark *mark; }; +struct _GtkIMHtmlScalable { + void (*scale)(struct _GtkIMHtmlScalable *, int, int); + void (*add_to)(struct _GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); + void (*free)(struct _GtkIMHtmlScalable *); +}; + +struct _GtkIMHtmlHr { + GtkIMHtmlScalable scalable; + GtkWidget *sep; +}; + +struct _GtkIMHtmlImage { + GtkIMHtmlScalable scalable; + GtkImage *image; /**< Contains the scaled version of this pixbuf. */ + GdkPixbuf *pixbuf; /**< The original pixbuf, before any scaling. */ + GtkTextMark *mark; + gchar *filename; + int width; + int height; + int id; + GtkWidget *filesel; +}; + +struct _GtkIMHtmlAnimation { + GtkIMHtmlImage imhtmlimage; + GdkPixbufAnimation *anim; /**< The original animation, before any scaling. */ + GdkPixbufAnimationIter *iter; + guint timer; +}; + struct _GtkIMHtmlLink { GtkIMHtml *imhtml; @@ -90,6 +120,12 @@ GtkTextTag *tag; }; +struct _GtkSmileyTree { + GString *values; + GtkSmileyTree **children; + GtkIMHtmlSmiley *image; +}; + typedef struct { char *name; int length;