#ifndef XBITMAPS_H #define XBITMAPS_H 1 /* $Id: xbitmaps.h,v 1.3 2001/12/24 01:08:58 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /************************************************************************/ /* */ /* (C) Copyright 1989, 1990, 1990, 1991, 1992, 1993, 1994, 1995 Venue. */ /* All Rights Reserved. */ /* Manufactured in the United States of America. */ /* */ /************************************************************************/ #include typedef struct { const uint8_t *cuimage; /* the image bitmap */ const uint8_t *cumask; /* the mask bitmap */ short cubitsperpixel; /* bits per pixel in the cursor, mostly 1 */ short cuhotspotx; /* hot-spot X coordinate */ short cuhotspoty; /* hot-spot Y coordinate */ short cudata; /* ?? */ } LISP_CURSOR; static const uint8_t defaultcursor_bitmap[]= { 0x80, 0, 0xc0, 0, 0xe0, 0, 0xf0, 0 , 0xf8, 0, 0xfc, 0, 0xfe, 0, 0xf0, 0 , 0xd8, 0, 0x98, 0, 0x0c, 0, 0x0c, 0 , 0x06, 0, 0x06, 0, 0x03, 0, 0x03, 0 }; static const LISP_CURSOR default_cursor = { defaultcursor_bitmap , defaultcursor_bitmap , 1 , 0 , 15 , 0 }; static const uint8_t waitcursor_bitmap[]= { 0xFF, 0xFE, 0xC0, 0x06, 0x60, 0x1C, 0x3D, 0x78 , 0x1F, 0xF0, 0x0F, 0xE0, 0x06, 0xC0, 0x03, 0x80 , 0x02, 0x80, 0x03, 0xC0, 0x0D, 0x60, 0x19, 0x30 , 0x37, 0xD8, 0x67, 0xEC, 0xFF, 0xFE, 0xFF, 0xFE }; static const LISP_CURSOR wait_cursor = { waitcursor_bitmap , waitcursor_bitmap , 1 , 7 , 8 , 0 }; static const uint8_t horizscrollcursor_bitmap[]={ 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x08, 0x20 , 0x18, 0x30 , 0x38, 0x38 , 0x78, 0x3C , 0xFF, 0xFE , 0xFF, 0xFE , 0x78, 0x3C , 0x38, 0x38 , 0x18, 0x30 , 0x08, 0x20 }; static const LISP_CURSOR horizscroll_cursor = { horizscrollcursor_bitmap , horizscrollcursor_bitmap , 1 , 7 , 5 , 0 }; static const uint8_t horizthumbcursor_bitmap[]={ 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x02, 0x00 , 0x02, 0x00 , 0x0A, 0x80 , 0x0A, 0x80 , 0x0A, 0x80 , 0x2A, 0xA0 , 0x2A, 0xA0 , 0x2A, 0xA0 , 0xAA, 0xA8 , 0xAA, 0xA8 , 0xAA, 0xA8 , 0xAA, 0xA8 , 0xAA, 0xA8 }; static const LISP_CURSOR horizthumb_cursor = { horizthumbcursor_bitmap , horizthumbcursor_bitmap , 1 , 6 , 8 , 0 }; static const uint8_t scrolldowncursor_bitmap[]={ 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x1F, 0xF0 , 0x1F, 0xF0 , 0x0F, 0xE0 , 0x0F, 0xE0 , 0x07, 0xC0 , 0x07, 0xC0 , 0x03, 0x80 , 0x03, 0x80 , 0x01, 0x00 }; static const LISP_CURSOR scrolldown_cursor = { scrolldowncursor_bitmap , scrolldowncursor_bitmap , 1 , 7 , 15 , 0 }; static const uint8_t scrollleftcursor_bitmap[]={ 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x80 , 0x03, 0x80 , 0x0F, 0x80 , 0x3F, 0x80 , 0xFF, 0xFF , 0xFF, 0xFF , 0x3F, 0x80 , 0x0F, 0x80 , 0x03, 0x80 , 0x00, 0x80 }; static const LISP_CURSOR scrollleft_cursor = { scrollleftcursor_bitmap , scrollleftcursor_bitmap , 1 , 8 , 5 , 0 }; static const uint8_t scrollrightcursor_bitmap[]={ 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x00, 0x00 , 0x01, 0x00 , 0x01, 0xC0 , 0x01, 0xF0 , 0x01, 0xFC , 0xFF, 0xFF , 0xFF, 0xFF , 0x01, 0xFC , 0x01, 0xF0 , 0x01, 0xC0 , 0x01, 0x00 }; static const LISP_CURSOR scrollright_cursor = { scrollrightcursor_bitmap , scrollrightcursor_bitmap , 1 , 7 , 5 , 0 }; static const uint8_t scrollupcursor_bitmap[]={ 0x01, 0x00 , 0x03, 0x80 , 0x03, 0x80 , 0x07, 0xC0 , 0x07, 0xC0 , 0x0F, 0xE0 , 0x0F, 0xE0 , 0x1F, 0xF0 , 0x1F, 0xF0 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 }; static const LISP_CURSOR scrollup_cursor = { scrollupcursor_bitmap , scrollupcursor_bitmap , 1 , 7 , 15 , 0 }; static const uint8_t vertscrollcursor_bitmap[]={ 0x01, 0x00 , 0x03, 0x80 , 0x03, 0x80 , 0x07, 0xC0 , 0x07, 0xC0 , 0x0F, 0xE0 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x03, 0x80 , 0x0F, 0xE0 , 0x07, 0xC0 , 0x07, 0xC0 , 0x03, 0x80 , 0x03, 0x80 , 0x01, 0x00 }; static const LISP_CURSOR vertscroll_cursor = { vertscrollcursor_bitmap , vertscrollcursor_bitmap , 1 , 7 , 15 , 0 }; static const uint8_t vertthumbcursor_bitmap[]={ 0x00,0x00 ,0x00,0x1f ,0x00,0x00 ,0x00,0xff ,0x00,0x00 ,0x07,0xff ,0x00,0x00 ,0x1f,0xff ,0x00,0x00 ,0x07,0xff ,0x00,0x00 ,0x00,0xff ,0x00,0x00 ,0x00,0x1f ,0x00,0x00 ,0x00,0x00 }; static const LISP_CURSOR vertthumb_cursor = { vertthumbcursor_bitmap , vertthumbcursor_bitmap , 1 , 8 , 8 , 0 }; static unsigned int check_width = 16; static unsigned int check_height = 16; static uint8_t check_bits[] = { 0x88, 0x88, 0x00, 0x00, 0x22, 0x22, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x22, 0x22, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x22, 0x22, 0x00, 0x00, 0x88, 0x88, 0x00, 0x00, 0x22, 0x22, 0x00, 0x00 }; static uint8_t plain_bits[] = { 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 }; #endif /* XBITMAPS_H */