From 5aae53ef919c695136ee52ce30435820d8dc1771 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 27 Nov 2006 17:13:24 +0000 Subject: Merge GTK frames branch to trunk. svn path=/trunk/netsurf/; revision=3075 --- gtk/gtk_plotters.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gtk/gtk_plotters.h') diff --git a/gtk/gtk_plotters.h b/gtk/gtk_plotters.h index 85ab4b9b0..69a765110 100644 --- a/gtk/gtk_plotters.h +++ b/gtk/gtk_plotters.h @@ -9,7 +9,25 @@ * Target independent plotting (GDK / GTK+ interface). */ +#ifndef NETSURF_GTK_PLOTTERS_H +#define NETSURF_GTK_PLOTTERS_H 1 + +#include + struct plotter_table; extern const struct plotter_table nsgtk_plotters; +extern GtkWidget *current_widget; +extern GdkDrawable *current_drawable; +extern GdkGC *current_gc; +#ifdef CAIRO_VERSION +extern cairo_t *current_cr; +#endif + +void nsgtk_plot_set_scale(float s); +float nsgtk_plot_get_scale(void); +void nsgtk_set_colour(colour c); +void nsgtk_plot_caret(int x, int y, int h); + +#endif /* NETSURF_GTK_PLOTTERS_H */ -- cgit v1.2.3