[comp.windows.x] bill the cat cursor

hughes@azroth.csee.usf.edu (Ken Hughes) (09/23/90)

If anyone cares (someone somewhere probably will) here's the source for a
Bill the Cat cursor, complete with mask.  Just cut the two pieces and put
them in separate files....

Icon part (bill.xbc):
------------Cut here-------------
#define bill_width 32
#define bill_height 32
#define bill_x_hot 15
#define bill_y_hot 25
static char bill_bits[] = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x08, 0x00, 0x00, 0x00, 0x08, 0x20, 0x00, 0x00, 0x48, 0x30, 0x00,
   0x10, 0x90, 0x08, 0x00, 0x30, 0x50, 0x25, 0x00, 0x50, 0x90, 0x14, 0x01,
   0xa0, 0xb9, 0xd4, 0x01, 0x60, 0x46, 0xbe, 0x00, 0xc0, 0x82, 0xa2, 0x00,
   0x80, 0x13, 0x49, 0x0e, 0x70, 0x11, 0x49, 0x01, 0x08, 0x83, 0x41, 0x03,
   0xa0, 0x7d, 0xfe, 0x0c, 0xd0, 0x80, 0x41, 0x00, 0x80, 0x84, 0x42, 0x00,
   0x80, 0xa0, 0x48, 0x00, 0x00, 0x89, 0x40, 0x00, 0xc0, 0xc2, 0x63, 0x00,
   0x20, 0xfc, 0x9f, 0x01, 0x80, 0xf0, 0x27, 0x00, 0x00, 0xb2, 0x26, 0x00,
   0x00, 0x90, 0x44, 0x00, 0x00, 0x90, 0x04, 0x00, 0x00, 0x90, 0x04, 0x00,
   0x00, 0x90, 0x04, 0x00, 0x00, 0x30, 0x0a, 0x00, 0x00, 0xc8, 0x09, 0x00,
   0x00, 0x08, 0x08, 0x00, 0x00, 0x08, 0x08, 0x00};
------------Cut here-------------

Mask part (bill.xbcm):
------------Cut here-------------
#define bill_width 32
#define bill_height 32
#define bill_x_hot 15
#define bill_y_hot 25
static char bill_bits[] = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x08, 0x00, 0x00, 0x00, 0x08, 0x20, 0x00, 0x00, 0x48, 0x30, 0x00,
   0x10, 0x90, 0x08, 0x00, 0x30, 0x50, 0x25, 0x00, 0x70, 0x90, 0x14, 0x01,
   0xe0, 0xb9, 0xd4, 0x01, 0xe0, 0x7f, 0xfe, 0x00, 0xc0, 0xff, 0xfe, 0x00,
   0x80, 0xff, 0x7f, 0x0e, 0x70, 0xff, 0x7f, 0x01, 0x08, 0xff, 0x7f, 0x03,
   0xa0, 0xff, 0xff, 0x0c, 0xd0, 0xff, 0x7f, 0x00, 0x80, 0xff, 0x7f, 0x00,
   0x80, 0xff, 0x7f, 0x00, 0x00, 0xff, 0x7f, 0x00, 0xc0, 0xfe, 0x7f, 0x00,
   0x20, 0xfc, 0x9f, 0x01, 0x80, 0xf0, 0x27, 0x00, 0x00, 0xf2, 0x27, 0x00,
   0x00, 0xf0, 0x47, 0x00, 0x00, 0xf0, 0x07, 0x00, 0x00, 0xf0, 0x07, 0x00,
   0x00, 0xf0, 0x07, 0x00, 0x00, 0xf0, 0x0f, 0x00, 0x00, 0xf8, 0x0f, 0x00,
   0x00, 0xf8, 0x0f, 0x00, 0x00, 0xf8, 0x0f, 0x00};
------------Cut here-------------

It looks ok as a root cursor with these colors:
xsetroot -cursor bill.xbc bill.xbcm -fg black -bg orange2


-----------------------------------------------------------------------------
Ken Hughes  (hughes@sol.csee.usf.edu) |  "If you were happy every day of your
FT-Ph D student, PT-ex-sysadm	      |   your life you wouldn't be a human
Dept of Comp Sci and Eng	      |   being, you'd be a game show host."
University of South Florida	      |     Winona Ryder, from _Heathers_
---------------------------------------------------------------------------

wengland@stephsf.stephsf.com (Bill England) (10/04/90)

In article <47@screamer.csee.usf.edu> hughes@azroth.csee.usf.edu (Ken Hughes) writes:
>
>Icon part (bill.xbc):
>------------Cut here-------------
>#define bill_width 32
>#define bill_height 32

  Im running X11R3 from SCO-ODT.  The cursor size seems to be stuck. Only
  Bills right eye is visable in the cursor after xsetroot.  The hot spot
  on Bills tonge seems to be in the right spot.  You just can't see it.

  Bill England
  wengland@stephsf.COM

wengland@stephsf.stephsf.com (Bill England) (10/05/90)

  Bill the cat sure is scary ... but, what about other grusume cursors
  and bitmaps.   Does anyone have some Halloween bitmaps they would
  like to share?  ( If I get a bunch by e-mail I'll repost a summary
  here by Oct 19.  )


  Bill England
  wengland@stephsf.COM

mouse@LARRY.MCRCIM.MCGILL.EDU (10/05/90)

>> #define bill_width 32
>> #define bill_height 32

> Im running X11R3 from SCO-ODT.  The cursor size seems to be stuck.
> Only Bills right eye is visable in the cursor after xsetroot.  The
> hot spot on Bills tonge seems to be in the right spot.  You just
> can't see it.

Yes.  X permits servers to place restrictions on cursor size.  (I would
prefer a requirement that any size work, by simulating it in software
if necessary, but that's not the choice the X group made.)  If your
server can't do a cursor that big, you're out of luck.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu

wengland@stephsf.stephsf.com (Bill England) (10/06/90)

In article <9010041946.AA24672@Larry.McRCIM.McGill.EDU> mouse@LARRY.MCRCIM.MCGILL.EDU writes:
>
>Yes.  X permits servers to place restrictions on cursor size.  (I would
>prefer a requirement that any size work, by simulating it in software
>if necessary, but that's not the choice the X group made.)  If your
>server can't do a cursor that big, you're out of luck.
>
>					der Mouse

  Yep, thats apperantly the case with SCO's server, at least for now.
  I'll just have to live without Old bill as my root cursor until 
  SCO's server upgrage.

 +--------
 |  Bill England
 |  wengland@stephsf.COM
 |
  * *      H -> He +24Mev
 * * * ... Oooo, we're having so much fun making itty bitty suns *
  * *

bkahn@archive.webo.dg.com (Bruce Kahn) (10/08/90)

  Actually Id be interested in ANY bitmaps that I can use as new cursors.  I
recall grabbing HOBBES off the net a while back but never saw the bill the
cat cursor.  Can some kind soul please e-mail me the bill the cat cursor or
point me in the right direction to an FTP site what would have it (and/or
others)??

--
                                          Bruce (bkahn@archive.webo.dg.com or
                                                 kahn@adam.dg.com)
  
  Standard disclaimers apply, except where prohibited by law...