comparison pidgin/gtkimhtml.c @ 32827:4a34689eeb33 default tip

merged from im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 19 Nov 2011 14:42:54 +0900
parents 0f94ec89f0bc 1cec4425d0cc
children
comparison
equal deleted inserted replaced
32692:0f94ec89f0bc 32827:4a34689eeb33
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;