diff options
author | James Bursa <james@netsurf-browser.org> | 2003-07-17 23:01:02 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-07-17 23:01:02 +0000 |
commit | 5031b80b331ddc58fd24f3fe7a85503320cf9689 (patch) | |
tree | 7911bcec2639a026ba6ff4403e6984977a8e5d54 /riscos/gui.h | |
parent | 8bca5444485f4f76f96b8f1f57434afca36cca62 (diff) | |
download | netsurf-5031b80b331ddc58fd24f3fe7a85503320cf9689.tar.gz netsurf-5031b80b331ddc58fd24f3fe7a85503320cf9689.tar.bz2 |
[project @ 2003-07-17 23:01:02 by bursa]
Fix 670947, tidy gui code, move some headers.
svn path=/import/netsurf/; revision=231
Diffstat (limited to 'riscos/gui.h')
-rw-r--r-- | riscos/gui.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/riscos/gui.h b/riscos/gui.h deleted file mode 100644 index 841d8c7c2..000000000 --- a/riscos/gui.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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 <monkeyson@users.sourceforge.net> - */ - -#ifndef _NETSURF_RISCOS_GUI_H_ -#define _NETSURF_RISCOS_GUI_H_ - -#include "netsurf/render/box.h" -#include "oslib/wimp.h" - -extern char *NETSURF_DIR; - -struct ro_gui_window; -typedef struct ro_gui_window gui_window; - -int ro_x_units(unsigned long browser_units); -int ro_y_units(unsigned long browser_units); -unsigned long browser_x_units(int ro_units); -unsigned long browser_y_units(int ro_units); - -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; -}; - -#include "netsurf/desktop/browser.h" - -void ro_gui_window_click(gui_window* g, wimp_pointer* mouse); -//void ro_gui_window_mouse_at(gui_window* g, wimp_pointer* mouse); -void ro_gui_window_open(gui_window* g, wimp_open* open); -void ro_gui_window_redraw(gui_window* g, wimp_draw* redraw); -//void ro_gui_window_keypress(gui_window* g, wimp_key* key); -void gui_remove_gadget(struct gui_gadget* g); - -#endif |