summaryrefslogtreecommitdiff
path: root/atari/caret.h
diff options
context:
space:
mode:
Diffstat (limited to 'atari/caret.h')
-rw-r--r--atari/caret.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/atari/caret.h b/atari/caret.h
new file mode 100644
index 000000000..c9352dc8b
--- /dev/null
+++ b/atari/caret.h
@@ -0,0 +1,17 @@
+#ifndef NS_ATARI_CARET_H
+#define NS_ATARI_CARET_H
+
+#include <mt_gem.h>
+#include <stdbool.h>
+
+struct s_caret {
+ GRECT dimensions;
+ MFDB background;
+ bool visible;
+};
+
+void caret_show(struct s_caret *c, VdiHdl vh, GRECT * dimensions, GRECT *clip);
+void caret_hide(struct s_caret *c, VdiHdl vh, GRECT *clip);
+
+#endif // NS_ATARI_CARET_H
+