From 7c474c848ee97bf0c72e5e216c36aaf6b6a3be91 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 30 Jul 2003 13:06:22 +0000 Subject: [project @ 2003-07-30 13:06:22 by jmb] Add support for Acorn URI Protocol and URI files (Rob Jackson) svn path=/import/netsurf/; revision=242 --- riscos/gui.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 riscos/gui.h (limited to 'riscos/gui.h') diff --git a/riscos/gui.h b/riscos/gui.h new file mode 100644 index 000000000..3426c59d3 --- /dev/null +++ b/riscos/gui.h @@ -0,0 +1,41 @@ +/* + * 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 2003 Phil Mellor + */ + +#ifndef _NETSURF_RISCOS_GUI_H_ +#define _NETSURF_RISCOS_GUI_H_ + +#include "netsurf/desktop/browser.h" +#include "netsurf/desktop/gui.h" +#include "oslib/wimp.h" + +struct ro_gui_window +{ + gui_window_type type; + + union { + struct { + wimp_w window; + wimp_w toolbar; + int toolbar_width; + struct browser_window* bw; + } browser; + } data; + + char status[256]; + char title[256]; + char url[256]; + gui_window* next; + + int throbber; + float throbtime; + + gui_safety redraw_safety; + enum { drag_NONE, drag_UNKNOWN, drag_BROWSER_TEXT_SELECTION } drag_status; + int old_width; +}; + +#endif -- cgit v1.2.3