summaryrefslogtreecommitdiff
path: root/include/cursor.h
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-03-25 16:16:00 +0000
committerCharles.Forsyth <devnull@localhost>2009-03-25 16:16:00 +0000
commitd8150d92150b08ade63d7cd8b666cb26551110ff (patch)
treecd00d21483c33e7d7a72841dffaf84a3833dca54 /include/cursor.h
parentec9d9a92e45882fc1aec9e79f5a2bcf0b303fa87 (diff)
x20090325-1615
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*);