comparison src/gtkimhtml.h @ 9025:b24967757d46

[gaim-migrate @ 9801] " - Fixed text-decoration: underline; parsing from being dependent on font-size specified - IM HTML Toolbar dialogs now automatically fill with the color/font for the current text - Made most of the IMHTML formatting buttons fire signals where appropriate - Implemented a global on or off "Send default formatting with outgoing messages" option - If user previously sent a font name, we assume they want formatting on, otherwise it defaults to off. - Removed font and color from the GaimGtkConversation struct, because this wasn't being used anywhere, by anything and just resulted in more confusing code. - Removed three functions related to the struct, including one that was declared, but never actually written. - Added get_current_fontface, get_current_fontsize, get_current_forecolor, get_current_backcolor to gtk_imhtml_* to get the formatting at the cursor (or whole buffer when wbfo is on) - Removed all dialogs used only by the old default formatting preferences from dialogs.c - When font background, color, or face are "disabled" they are stored as an empty string in their prefs. - Fixed a bug where NULL for background, color, or face did not remove the tags in wbfo " all that, quoth SimGuy committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 23 May 2004 03:54:20 +0000
parents 4ff4c34b7500
children 697e169dac12
comparison
equal deleted inserted replaced
9024:85caba2f820a 9025:b24967757d46
259 void gtk_imhtml_set_editable(GtkIMHtml *imhtml, gboolean editable); 259 void gtk_imhtml_set_editable(GtkIMHtml *imhtml, gboolean editable);
260 void gtk_imhtml_set_whole_buffer_formatting_only(GtkIMHtml *imhtml, gboolean wbfo); 260 void gtk_imhtml_set_whole_buffer_formatting_only(GtkIMHtml *imhtml, gboolean wbfo);
261 void gtk_imhtml_set_format_functions(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons); 261 void gtk_imhtml_set_format_functions(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons);
262 GtkIMHtmlButtons gtk_imhtml_get_format_functions(GtkIMHtml *imhtml); 262 GtkIMHtmlButtons gtk_imhtml_get_format_functions(GtkIMHtml *imhtml);
263 void gtk_imhtml_get_current_format(GtkIMHtml *imhtml, gboolean *bold, gboolean *italic, gboolean *underline); 263 void gtk_imhtml_get_current_format(GtkIMHtml *imhtml, gboolean *bold, gboolean *italic, gboolean *underline);
264 char *gtk_imhtml_get_current_fontface(GtkIMHtml *imhtml);
265 char *gtk_imhtml_get_current_forecolor(GtkIMHtml *imhtml);
266 char *gtk_imhtml_get_current_backcolor(GtkIMHtml *imhtml);
267 gint gtk_imhtml_get_current_fontsize(GtkIMHtml *imhtml);
264 gboolean gtk_imhtml_get_editable(GtkIMHtml *imhtml); 268 gboolean gtk_imhtml_get_editable(GtkIMHtml *imhtml);
265 gboolean gtk_imhtml_toggle_bold(GtkIMHtml *imhtml); 269 gboolean gtk_imhtml_toggle_bold(GtkIMHtml *imhtml);
266 gboolean gtk_imhtml_toggle_italic(GtkIMHtml *imhtml); 270 gboolean gtk_imhtml_toggle_italic(GtkIMHtml *imhtml);
267 gboolean gtk_imhtml_toggle_underline(GtkIMHtml *imhtml); 271 gboolean gtk_imhtml_toggle_underline(GtkIMHtml *imhtml);
268 gboolean gtk_imhtml_toggle_forecolor(GtkIMHtml *imhtml, const char *color); 272 gboolean gtk_imhtml_toggle_forecolor(GtkIMHtml *imhtml, const char *color);