diff options
author | rsc <devnull@localhost> | 2003-09-30 17:47:44 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-09-30 17:47:44 +0000 |
commit | a59ea66fa99f7b6f03eac71dc0713c33f912b6ab (patch) | |
tree | cff66ffadce853f2c886d79282d879c9831c488f /src/cmd/samterm/icons.c | |
parent | b822e0d8035e1c80b86d974e63bd10936a96ed2d (diff) | |
download | plan9port-a59ea66fa99f7b6f03eac71dc0713c33f912b6ab.tar.gz plan9port-a59ea66fa99f7b6f03eac71dc0713c33f912b6ab.tar.bz2 plan9port-a59ea66fa99f7b6f03eac71dc0713c33f912b6ab.zip |
Initial import.
Diffstat (limited to 'src/cmd/samterm/icons.c')
-rw-r--r-- | src/cmd/samterm/icons.c | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/cmd/samterm/icons.c b/src/cmd/samterm/icons.c new file mode 100644 index 00000000..5ccd999a --- /dev/null +++ b/src/cmd/samterm/icons.c @@ -0,0 +1,52 @@ +#include <u.h> +#include <libc.h> +#include <draw.h> +#include <thread.h> +#include <mouse.h> +#include <cursor.h> +#include <keyboard.h> +#include <frame.h> +#include "flayer.h" +#include "samterm.h" + +Cursor bullseye={ + {-7, -7}, + {0x1F, 0xF8, 0x3F, 0xFC, 0x7F, 0xFE, 0xFB, 0xDF, + 0xF3, 0xCF, 0xE3, 0xC7, 0xFF, 0xFF, 0xFF, 0xFF, + 0xFF, 0xFF, 0xFF, 0xFF, 0xE3, 0xC7, 0xF3, 0xCF, + 0x7B, 0xDF, 0x7F, 0xFE, 0x3F, 0xFC, 0x1F, 0xF8,}, + {0x00, 0x00, 0x0F, 0xF0, 0x31, 0x8C, 0x21, 0x84, + 0x41, 0x82, 0x41, 0x82, 0x41, 0x82, 0x7F, 0xFE, + 0x7F, 0xFE, 0x41, 0x82, 0x41, 0x82, 0x41, 0x82, + 0x21, 0x84, 0x31, 0x8C, 0x0F, 0xF0, 0x00, 0x00,} +}; +Cursor deadmouse={ + {-7, -7}, + {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x0C, 0x00, 0x8E, 0x1D, 0xC7, + 0xFF, 0xE3, 0xFF, 0xF3, 0xFF, 0xFF, 0x7F, 0xFE, + 0x3F, 0xF8, 0x17, 0xF0, 0x03, 0xE0, 0x00, 0x00,}, + {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x08, 0x00, 0x04, 0x00, 0x82, + 0x04, 0x41, 0xFF, 0xE1, 0x5F, 0xF1, 0x3F, 0xFE, + 0x17, 0xF0, 0x03, 0xE0, 0x00, 0x00, 0x00, 0x00,} +}; +Cursor lockarrow={ + {-7, -7}, + {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,}, + {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x0F, 0xC0, 0x0F, 0xC0, + 0x03, 0xC0, 0x07, 0xC0, 0x0E, 0xC0, 0x1C, 0xC0, + 0x38, 0x00, 0x70, 0x00, 0xE0, 0xDB, 0xC0, 0xDB,} +}; + +Image *darkgrey; + +void +iconinit(void) +{ + darkgrey = allocimage(display, Rect(0, 0, 1, 1), screen->chan, 1, 0x444444FF); +} |