summaryrefslogtreecommitdiff
path: root/include/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cursor.h')
-rw-r--r--include/cursor.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/cursor.h b/include/cursor.h
new file mode 100644
index 00000000..fda4bbd0
--- /dev/null
+++ b/include/cursor.h
@@ -0,0 +1,19 @@
+/*
+ * This is a separate file because image.h cannot be
+ * included in many of the graphics drivers due to
+ * name conflicts
+ */
+
+typedef struct Drawcursor Drawcursor;
+struct Drawcursor
+{
+ int hotx;
+ int hoty;
+ int minx;
+ int miny;
+ int maxx;
+ int maxy;
+ uchar* data;
+};
+
+void drawcursor(Drawcursor*);