From dbc6d8793f7069815a049a07d0be6f8d3a1a01d5 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 26 Dec 2008 19:04:57 +0000 Subject: Reduce memory usage svn path=/trunk/netsurf/; revision=5926 --- amiga/gui.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'amiga/gui.h') diff --git a/amiga/gui.h b/amiga/gui.h index d2c12e96d..66e42482f 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -91,11 +91,6 @@ struct gui_window_2 { struct List tab_list; ULONG tabs; ULONG next_tab; - struct BitMap *bm; - struct RastPort rp; - struct Layer_Info *layerinfo; - APTR areabuf; - APTR tmprasbuf; struct Hook scrollerhook; struct Hook popuphook; struct form_control *control; @@ -119,6 +114,15 @@ struct gui_window struct browser_window *bw; // not used }; +struct gui_globals +{ + struct BitMap *bm; + struct RastPort rp; + struct Layer_Info *layerinfo; + APTR areabuf; + APTR tmprasbuf; +}; + void ami_get_msg(void); void ami_update_pointer(struct Window *win, gui_pointer_shape shape); void ami_close_all_tabs(struct gui_window_2 *gwin); @@ -134,4 +138,5 @@ struct FileRequester *filereq; struct MsgPort *sport; bool win_destroyed; struct browser_window *curbw; +struct gui_globals glob; #endif -- cgit v1.2.3