pidgin/gtkimhtml.c

changeset 32656
d26e0b6b9d2c
parent 32604
8d0a34f26244
child 32923
9bab20418ace
child 33120
f6f1a27ade72
equal deleted inserted replaced
32655:3a1981621de5 32656:d26e0b6b9d2c
81 struct im_image_data { 81 struct im_image_data {
82 int id; 82 int id;
83 GtkTextMark *mark; 83 GtkTextMark *mark;
84 }; 84 };
85 85
86 struct _GtkIMHtmlScalable {
87 void (*scale)(struct _GtkIMHtmlScalable *, int, int);
88 void (*add_to)(struct _GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *);
89 void (*free)(struct _GtkIMHtmlScalable *);
90 };
91
92 struct _GtkIMHtmlHr {
93 GtkIMHtmlScalable scalable;
94 GtkWidget *sep;
95 };
96
97 struct _GtkIMHtmlImage {
98 GtkIMHtmlScalable scalable;
99 GtkImage *image; /**< Contains the scaled version of this pixbuf. */
100 GdkPixbuf *pixbuf; /**< The original pixbuf, before any scaling. */
101 GtkTextMark *mark;
102 gchar *filename;
103 int width;
104 int height;
105 int id;
106 GtkWidget *filesel;
107 };
108
109 struct _GtkIMHtmlAnimation {
110 GtkIMHtmlImage imhtmlimage;
111 GdkPixbufAnimation *anim; /**< The original animation, before any scaling. */
112 GdkPixbufAnimationIter *iter;
113 guint timer;
114 };
115
86 struct _GtkIMHtmlLink 116 struct _GtkIMHtmlLink
87 { 117 {
88 GtkIMHtml *imhtml; 118 GtkIMHtml *imhtml;
89 gchar *url; 119 gchar *url;
90 GtkTextTag *tag; 120 GtkTextTag *tag;
121 };
122
123 struct _GtkSmileyTree {
124 GString *values;
125 GtkSmileyTree **children;
126 GtkIMHtmlSmiley *image;
91 }; 127 };
92 128
93 typedef struct { 129 typedef struct {
94 char *name; 130 char *name;
95 int length; 131 int length;

mercurial