summaryrefslogtreecommitdiff
path: root/gtk/gtk_window.h
diff options
context:
space:
mode:
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 */