summaryrefslogtreecommitdiffstats
path: root/src/cmd/devdraw/cursor.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2011-10-23 18:47:29 -0400
committerRuss Cox <rsc@swtch.com>2011-10-23 18:47:29 -0400
commitb4d0ac961262aace74431d78fe952a404a6f25a1 (patch)
treea4ae3becb6f63f75034b655f3934cf03edd3d212 /src/cmd/devdraw/cursor.c
parent813b3eea8b469a6d603f13a51a8afb8e3dae3a32 (diff)
downloadplan9port-b4d0ac961262aace74431d78fe952a404a6f25a1.tar.gz
plan9port-b4d0ac961262aace74431d78fe952a404a6f25a1.zip
devdraw: cocoa fixes, bigarrow support (thanks Marius Eriksen)
Diffstat (limited to 'src/cmd/devdraw/cursor.c')
-rw-r--r--src/cmd/devdraw/cursor.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cmd/devdraw/cursor.c b/src/cmd/devdraw/cursor.c
new file mode 100644
index 00000000..af7e65db
--- /dev/null
+++ b/src/cmd/devdraw/cursor.c
@@ -0,0 +1,16 @@
+#include <u.h>
+#include <libc.h>
+#include <draw.h>
+#include <cursor.h>
+
+Cursor bigarrow = {
+ {0, 0},
+ {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFC,
+ 0xFF, 0xF0, 0xFF, 0xF0, 0xFF, 0xF8, 0xFF, 0xFC,
+ 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFC,
+ 0xF3, 0xF8, 0xF1, 0xF0, 0xE0, 0xE0, 0xC0, 0x40},
+ {0x00, 0x00, 0x7F, 0xFE, 0x7F, 0xFC, 0x7F, 0xF0,
+ 0x7F, 0xE0, 0x7F, 0xE0, 0x7F, 0xF0, 0x7F, 0xF8,
+ 0x7F, 0xFC, 0x7F, 0xFE, 0x7F, 0xFC, 0x73, 0xF8,
+ 0x61, 0xF0, 0x60, 0xE0, 0x40, 0x40, 0x00, 0x00},
+};