summaryrefslogtreecommitdiff
path: root/gtk/gtk_plotters.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-11-27 17:13:24 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2006-11-27 17:13:24 +0000
commit5aae53ef919c695136ee52ce30435820d8dc1771 (patch)
tree0236cd51036ec7691d242f2ee420dab09af818a8 /gtk/gtk_plotters.h
parent052e8e7ea86744bdbb06b3402dda51bd6349d072 (diff)
downloadnetsurf-5aae53ef919c695136ee52ce30435820d8dc1771.tar.gz
netsurf-5aae53ef919c695136ee52ce30435820d8dc1771.tar.bz2
Merge GTK frames branch to trunk.
svn path=/trunk/netsurf/; revision=3075
Diffstat (limited to 'gtk/gtk_plotters.h')
-rw-r--r--gtk/gtk_plotters.h18
1 files changed, 18 insertions, 0 deletions
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 <gtk/gtk.h>
+
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 */