summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-04 23:29:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-04 23:29:17 +0000
commitbd94b1242239bce989c254071a31d38398365831 (patch)
tree6174136f2b0444ec7a5ac6675ace3ca0ef0c405c /amiga/gui.h
parentfb09cf8f0acbc655b4d63c5097252ddba9572a16 (diff)
downloadnetsurf-bd94b1242239bce989c254071a31d38398365831.tar.gz
netsurf-bd94b1242239bce989c254071a31d38398365831.tar.bz2
Incomplete support for tabbed browsing.
svn path=/trunk/netsurf/; revision=5482
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-xamiga/gui.h19
1 files changed, 15 insertions, 4 deletions
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 <intuition/classusr.h>
#include "desktop/browser.h"
#include <dos/dos.h>
+#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;