summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-07-09 18:52:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-07-09 18:52:55 +0000
commit801ef751afd7b5adb7ef41335192638c8443c6f6 (patch)
tree4eb137509fa5ecb8e7bb9b56f5422b307af6ba74 /amiga/gui.h
parent9e5f6510ecba7ec9b83807a38f24b5d455d1bdba (diff)
downloadnetsurf-801ef751afd7b5adb7ef41335192638c8443c6f6.tar.gz
netsurf-801ef751afd7b5adb7ef41335192638c8443c6f6.tar.bz2
Move all the layers code into plotters.c and refactor to use gui_globals structure
Purge option_direct_render svn path=/trunk/netsurf/; revision=8425
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-xamiga/gui.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/amiga/gui.h b/amiga/gui.h
index 032ceb728..51b18230c 100755
--- a/amiga/gui.h
+++ b/amiga/gui.h
@@ -24,9 +24,7 @@
#include "desktop/browser.h"
#include <dos/dos.h>
#include "desktop/gui.h"
-#ifdef NS_AMIGA_CAIRO
-#include <cairo/cairo.h>
-#endif
+#include "amiga/plotters.h"
enum
{
@@ -115,20 +113,6 @@ struct gui_window
struct List dllist;
};
-struct gui_globals
-{
- struct BitMap *bm;
- struct RastPort rp;
- struct Layer_Info *layerinfo;
- APTR areabuf;
- APTR tmprasbuf;
- struct Rectangle rect;
-#ifdef NS_AMIGA_CAIRO
- cairo_surface_t *surface;
- cairo_t *cr;
-#endif
-};
-
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);
@@ -147,6 +131,5 @@ struct FileRequester *savereq;
struct MsgPort *sport;
bool win_destroyed;
struct browser_window *curbw;
-struct gui_globals *glob;
struct gui_globals browserglob;
#endif