Mercurial > pidgin.yaz
diff src/gtkimhtml.h @ 9924:872c4d8c1192
[gaim-migrate @ 10816]
Sam S. added back support for rendering <strike>
Before anyone gets too excited and decides to add back sup, sub, and pre,
I'd like to recode some stuff in imhtml and make it easier and cleaner to
add tags, especially simple boolean tags like strike.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 31 Aug 2004 20:10:21 +0000 |
parents | db62420a53a2 |
children | ba085944efee |
line wrap: on
line diff
--- a/src/gtkimhtml.h Tue Aug 31 18:28:35 2004 +0000 +++ b/src/gtkimhtml.h Tue Aug 31 20:10:21 2004 +0000 @@ -67,6 +67,7 @@ GTK_IMHTML_IMAGE = 1 << 9, GTK_IMHTML_SMILEY = 1 << 10, GTK_IMHTML_LINKDESC = 1 << 11, + GTK_IMHTML_STRIKE = 1 << 12, GTK_IMHTML_ALL = -1 } GtkIMHtmlButtons; @@ -105,6 +106,7 @@ gboolean bold:1; gboolean italic:1; gboolean underline:1; + gboolean strike:1; gchar *forecolor; gchar *backcolor; gchar *fontface; @@ -570,6 +572,15 @@ gboolean gtk_imhtml_toggle_underline(GtkIMHtml *imhtml); /** + * Toggles strikethrough at the cursor location or selection in a GTK IM/HTML. + * + * @param imhtml The GTK IM/HTML. + * + * @return @c TRUE if strikethrough was turned on, or @c FALSE if it was turned off. + */ +gboolean gtk_imhtml_toggle_strike(GtkIMHtml *imhtml); + +/** * Toggles a foreground color at the current location or selection in a GTK * IM/HTML. *