summaryrefslogtreecommitdiff
path: root/atari/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'atari/gui.h')
-rwxr-xr-xatari/gui.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/atari/gui.h b/atari/gui.h
index 76de07f37..e12cf44f4 100755
--- a/atari/gui.h
+++ b/atari/gui.h
@@ -19,7 +19,9 @@
#ifndef NS_ATARI_GUI_H_
#define NS_ATARI_GUI_H_
-#include <windom.h>
+#include "atari/redrawslots.h"
+#include "atari/caret.h"
+#include "atari/gemtk/gemtk.h"
struct point_s {
int x;
@@ -96,17 +98,20 @@ typedef struct s_browser * CMP_BROWSER;
*/
struct s_gui_win_root
{
- WINDOW * handle;
+ short aes_handle;
+ GUIWIN *win;
CMP_TOOLBAR toolbar;
CMP_STATUSBAR statusbar;
- COMPONENT * cmproot;
- MFORM_EX cursor;
struct s_focus_info focus;
float scale;
char * title;
+ struct bitmap * icon;
+ struct gui_window *active_gui_window;
+ struct s_redrw_slots redraw_slots;
/* current size of window on screen: */
GRECT loc;
};
+typedef struct s_gui_win_root ROOTWIN;
/*
This is the part of the gui which is known by netsurf core.
@@ -117,11 +122,21 @@ struct s_gui_win_root
struct gui_window {
struct s_gui_win_root * root;
CMP_BROWSER browser;
+ MFORM_EX *cursor;
/* icon to be drawn when iconified, or NULL for default resource. */
+ char * status;
+ char * title;
+ char * url;
struct bitmap * icon;
+ struct s_caret caret;
struct gui_window *next, *prev;
};
extern struct gui_window *window_list;
+/* -------------------------------------------------------------------------- */
+/* Public - non standard gui window functions */
+/* -------------------------------------------------------------------------- */
+void gui_set_input_gui_window(struct gui_window *gw);
+
#endif