Mercurial > pidgin
comparison src/gtkimhtml.h @ 11525:b47708f46a38
[gaim-migrate @ 13773]
Here's the rest of that custom smiley receiving patch, with some changes
from me. I'm still not all that happy with it, but that's probably not
the author's fault, and I don't have time to take it further right now.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Mon, 12 Sep 2005 13:25:41 +0000 |
parents | 16b0da1f376f |
children | fa17fc619f17 |
comparison
equal
deleted
inserted
replaced
11524:4fd0c3a663b8 | 11525:b47708f46a38 |
---|---|
70 GTK_IMHTML_LINKDESC = 1 << 12, | 70 GTK_IMHTML_LINKDESC = 1 << 12, |
71 GTK_IMHTML_STRIKE = 1 << 13, | 71 GTK_IMHTML_STRIKE = 1 << 13, |
72 GTK_IMHTML_ALL = -1 | 72 GTK_IMHTML_ALL = -1 |
73 } GtkIMHtmlButtons; | 73 } GtkIMHtmlButtons; |
74 | 74 |
75 typedef enum { | |
76 GTK_IMHTML_SMILEY_CUSTOM = 1 << 0 | |
77 } GtkIMHtmlSmileyFlags; | |
78 | |
75 struct _GtkIMHtml { | 79 struct _GtkIMHtml { |
76 GtkTextView text_view; | 80 GtkTextView text_view; |
77 GtkTextBuffer *text_buffer; | 81 GtkTextBuffer *text_buffer; |
78 GdkCursor *hand_cursor; | 82 GdkCursor *hand_cursor; |
79 GdkCursor *arrow_cursor; | 83 GdkCursor *arrow_cursor; |
153 gchar *smile; | 157 gchar *smile; |
154 gchar *file; | 158 gchar *file; |
155 GdkPixbufAnimation *icon; | 159 GdkPixbufAnimation *icon; |
156 gboolean hidden; | 160 gboolean hidden; |
157 GdkPixbufLoader *loader; | 161 GdkPixbufLoader *loader; |
162 GSList *anchors; | |
163 GtkIMHtmlSmileyFlags flags; | |
158 }; | 164 }; |
159 | 165 |
160 struct _GtkIMHtmlScalable { | 166 struct _GtkIMHtmlScalable { |
161 void (*scale)(struct _GtkIMHtmlScalable *, int, int); | 167 void (*scale)(struct _GtkIMHtmlScalable *, int, int); |
162 void (*add_to)(struct _GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); | 168 void (*add_to)(struct _GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); |