summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-12-26 19:04:57 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-12-26 19:04:57 +0000
commitdbc6d8793f7069815a049a07d0be6f8d3a1a01d5 (patch)
tree7ee0d1615099a57928e4405a32b1907b0e7efff1 /amiga/gui.h
parentb4e80b4d3a14e9b0e91965ab8ac67f4e1a5640ac (diff)
downloadnetsurf-dbc6d8793f7069815a049a07d0be6f8d3a1a01d5.tar.gz
netsurf-dbc6d8793f7069815a049a07d0be6f8d3a1a01d5.tar.bz2
Reduce memory usage
svn path=/trunk/netsurf/; revision=5926
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-xamiga/gui.h15
1 files changed, 10 insertions, 5 deletions
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