From bd94b1242239bce989c254071a31d38398365831 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 4 Oct 2008 23:29:17 +0000 Subject: Incomplete support for tabbed browsing. svn path=/trunk/netsurf/; revision=5482 --- amiga/gui.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'amiga/gui.h') diff --git a/amiga/gui.h b/amiga/gui.h index 6df70c454..288b5838d 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -23,6 +23,7 @@ #include #include "desktop/browser.h" #include +#include "desktop/gui.h" /* temp icon.library stuff */ #define ICONCTRLA_SetImageDataFormat (ICONA_Dummy + 0x67) /*103*/ @@ -34,8 +35,6 @@ #define IDFMT_DIRECTMAPPED (2) /* Direct mapped icon (truecolor 0xAARRGGBB, V51+) */ /* temp icon.library stuff */ -void ami_get_msg(void); - enum { GID_MAIN=0, @@ -48,6 +47,7 @@ enum GID_BACK, GID_FORWARD, GID_THROBBER, + GID_TABS, GID_USER, GID_PASS, GID_LOGIN, @@ -76,7 +76,7 @@ struct gui_download_window { uint32 downloaded; }; -struct gui_window { +struct gui_window_2 { struct Window *win; Object *objects[OID_LAST]; struct Gadget *gadgets[GID_LAST]; @@ -85,7 +85,8 @@ struct gui_window { bool redraw_required; int throbber_frame; int c_h; - struct List *tab_bw_list; + struct List tab_list; + int tabs; struct BitMap *bm; struct RastPort rp; struct Layer_Info *layerinfo; @@ -102,6 +103,16 @@ struct gui_window { int c_y; }; +struct gui_window +{ + struct gui_window_2 *shared; + int tab; + struct Node *tab_node; +}; + +void ami_get_msg(void); +void ami_update_pointer(struct Window *win, gui_pointer_shape shape); + struct RastPort *currp; struct TextFont *origrpfont; struct MinList *window_list; -- cgit v1.2.3