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_window.h | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'gtk/gtk_window.h') 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 + * Copyright 2006 Daniel Silverstone */ -#include -#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 */ -- cgit v1.2.3