From 49fe7b0dd02ecf09bd06bf29e051ac966e39581e Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 7 Apr 2015 22:05:48 +0200 Subject: kernel: move arrow cursor definition to port/devmouse.c --- sys/src/9/port/devmouse.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sys/src/9/port/devmouse.c') diff --git a/sys/src/9/port/devmouse.c b/sys/src/9/port/devmouse.c index 14db40ecf..90b8e76c6 100644 --- a/sys/src/9/port/devmouse.c +++ b/sys/src/9/port/devmouse.c @@ -102,6 +102,20 @@ static ulong mousetime; extern Memimage* gscreen; +Cursor arrow = { + { -1, -1 }, + { 0xFF, 0xFF, 0x80, 0x01, 0x80, 0x02, 0x80, 0x0C, + 0x80, 0x10, 0x80, 0x10, 0x80, 0x08, 0x80, 0x04, + 0x80, 0x02, 0x80, 0x01, 0x80, 0x02, 0x8C, 0x04, + 0x92, 0x08, 0x91, 0x10, 0xA0, 0xA0, 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, + }, +}; + static void mousereset(void) { -- cgit v1.2.3