summaryrefslogtreecommitdiff
path: root/atari/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'atari/gui.h')
-rwxr-xr-xatari/gui.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/atari/gui.h b/atari/gui.h
index e12cf44f4..fafafbd30 100755
--- a/atari/gui.h
+++ b/atari/gui.h
@@ -19,10 +19,22 @@
#ifndef NS_ATARI_GUI_H_
#define NS_ATARI_GUI_H_
+#include <stdbool.h>
+#include <mt_gem.h>
+
#include "atari/redrawslots.h"
-#include "atari/caret.h"
#include "atari/gemtk/gemtk.h"
+#define CARET_STATE_VISIBLE 0x01
+#define CARET_STATE_ENABLED 0x02
+
+struct s_caret {
+ GRECT dimensions;
+ MFDB symbol;
+ int fd_size;
+ unsigned short state;
+};
+
struct point_s {
int x;
int y;
@@ -108,6 +120,7 @@ struct s_gui_win_root
struct bitmap * icon;
struct gui_window *active_gui_window;
struct s_redrw_slots redraw_slots;
+ struct s_caret caret;
/* current size of window on screen: */
GRECT loc;
};