diff src/gtkimhtml.h @ 8740:61a090413b93

[gaim-migrate @ 9495] This removes a warning compile-time, and adds a function that plugins can call to change the conversation zoom factor. Credit for this and previous works go to Tim Ringenbach, Kevin Stange, and Daniel Atallah, who have all done a really nice job this release and the past on the gtkimhtml code. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 21 Apr 2004 06:13:49 +0000
parents 92cbf9713795
children 262f81346c0a
line wrap: on
line diff
--- a/src/gtkimhtml.h	Wed Apr 21 04:35:09 2004 +0000
+++ b/src/gtkimhtml.h	Wed Apr 21 06:13:49 2004 +0000
@@ -106,7 +106,10 @@
 		int fontsize;
 		GtkTextTag *link;
 	} edit;
-	
+
+	double zoom;
+	int original_fsize;
+
 	char *clipboard_text_string;
 	char *clipboard_html_string;
 };
@@ -214,6 +217,8 @@
 void       gtk_imhtml_page_up          (GtkIMHtml *imhtml);
 void       gtk_imhtml_page_down        (GtkIMHtml *imhtml);
 
+void gtk_imhtml_font_zoom(GtkIMHtml *imhtml, double zoom);
+
 GtkIMHtmlScalable *gtk_imhtml_scalable_new();
 GtkIMHtmlScalable *gtk_imhtml_image_new(GdkPixbuf *img, const gchar *filename);
 void gtk_imhtml_image_free(GtkIMHtmlScalable *);