]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/samterm/icons.c
merge
[plan9front.git] / sys / src / cmd / samterm / icons.c
1 #include <u.h>
2 #include <libc.h>
3 #include <draw.h>
4 #include <thread.h>
5 #include <cursor.h>
6 #include <mouse.h>
7 #include <keyboard.h>
8 #include <frame.h>
9 #include "flayer.h"
10 #include "samterm.h"
11
12 Cursor bullseye={
13         {-7, -7},
14         {0x1F, 0xF8, 0x3F, 0xFC, 0x7F, 0xFE, 0xFB, 0xDF,
15          0xF3, 0xCF, 0xE3, 0xC7, 0xFF, 0xFF, 0xFF, 0xFF,
16          0xFF, 0xFF, 0xFF, 0xFF, 0xE3, 0xC7, 0xF3, 0xCF,
17          0x7B, 0xDF, 0x7F, 0xFE, 0x3F, 0xFC, 0x1F, 0xF8,},
18         {0x00, 0x00, 0x0F, 0xF0, 0x31, 0x8C, 0x21, 0x84,
19          0x41, 0x82, 0x41, 0x82, 0x41, 0x82, 0x7F, 0xFE,
20          0x7F, 0xFE, 0x41, 0x82, 0x41, 0x82, 0x41, 0x82,
21          0x21, 0x84, 0x31, 0x8C, 0x0F, 0xF0, 0x00, 0x00,}
22 };
23 Cursor deadmouse={
24         {-7, -7},
25         {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
26          0x00, 0x00, 0x00, 0x0C, 0x00, 0x8E, 0x1D, 0xC7,
27          0xFF, 0xE3, 0xFF, 0xF3, 0xFF, 0xFF, 0x7F, 0xFE, 
28          0x3F, 0xF8, 0x17, 0xF0, 0x03, 0xE0, 0x00, 0x00,},
29         {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
30          0x00, 0x00, 0x00, 0x08, 0x00, 0x04, 0x00, 0x82,
31          0x04, 0x41, 0xFF, 0xE1, 0x5F, 0xF1, 0x3F, 0xFE, 
32          0x17, 0xF0, 0x03, 0xE0, 0x00, 0x00, 0x00, 0x00,}
33 };
34 Cursor lockarrow={
35         {-7, -7},
36         {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
37          0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
38          0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
39          0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
40         {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41          0x00, 0x00, 0x00, 0x00, 0x0F, 0xC0, 0x0F, 0xC0,
42          0x03, 0xC0, 0x07, 0xC0, 0x0E, 0xC0, 0x1C, 0xC0,
43          0x38, 0x00, 0x70, 0x00, 0xE0, 0xDB, 0xC0, 0xDB,}
44 };
45
46 Image   *darkgrey;
47
48 void
49 iconinit(void)
50 {
51         darkgrey = allocimage(display, Rect(0, 0, 1, 1), screen->chan, 1, 0x444444FF);
52 }