summaryrefslogtreecommitdiff
path: root/gtk/gtk_window.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_window.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_window.h')
-rw-r--r--gtk/gtk_window.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/gtk/gtk_window.h b/gtk/gtk_window.h
index 3da9d56f8..78cacc1d1 100644
--- a/gtk/gtk_window.h
+++ b/gtk/gtk_window.h
@@ -1,21 +1,23 @@
/*
- * This file is part of NetSurf, http://netsurf-browser.org/
+ * This file is part of NetSurf, http://netsurf.sourceforge.net/
* Licensed under the GNU General Public License,
* http://www.opensource.org/licenses/gpl-license
- * Copyright 2005 James Bursa <bursa@users.sourceforge.net>
+ * Copyright 2006 Daniel Silverstone <dsilvers@digital-scurf.org>
*/
-#include <gtk/gtk.h>
-#include "netsurf/desktop/plotters.h"
+#ifndef NETSURF_GTK_WINDOW_H
+#define NETSURF_GTK_WINDOW_H 1
-extern GtkWidget *current_widget;
-extern GdkDrawable *current_drawable;
-extern GdkGC *current_gc;
-#ifdef CAIRO_VERSION
-extern cairo_t *current_cr;
-#endif
+#include "netsurf/desktop/gui.h"
+#include "netsurf/gtk/gtk_scaffolding.h"
-void nsgtk_plot_set_scale(float s);
-float nsgtk_plot_get_scale(void);
-void nsgtk_set_colour(colour c);
+void nsgtk_window_reflow_content(struct gui_window *g);
void nsgtk_reflow_all_windows(void);
+
+nsgtk_scaffolding *nsgtk_get_scaffold(struct gui_window *g);
+struct browser_window *nsgtk_get_browser_for_gui(struct gui_window *g);
+
+float nsgtk_get_scale_for_gui(struct gui_window *g);
+int nsgtk_gui_window_update_targets(struct gui_window *g);
+
+#endif /* NETSURF_GTK_WINDOW_H */