Mail Archives: djgpp/1998/07/02/19:46:19
From: | a DOT gillett AT virgin DOT net (Andrew R. Gillett)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Allegro's mouse pointer
|
Date: | Thu, 2 Jul 1998 23:45:48 +0100
|
Organization: | Virgin Net Usenet Service
|
Lines: | 22
|
Message-ID: | <MPG.100577687d2a336c98986a@news.virgin.net>
|
References: | <001801bda51b$063cf480$624d08c3 AT arthur>
|
NNTP-Posting-Host: | 194.168.62.20
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
In comp.os.msdos.djgpp, article <001801bda51b$063cf480$624d08c3 AT arthur>,
Arthur (arfa AT clara DOT net) wrote:
> >Hi everybody! How can I change the mouse pointer in Allegro? If the
> >answer it's in tha manual or FAQ, sorry, but I can't find it.
>
>
> In the Allegro manual, under mouse functions:
>
> void set_mouse_sprite(BITMAP *sprite);
Or go:
show_mouse (NULL);
, then plot a cursor manually in whatever shape you want. This way you
could use not only a normal sprite, but RLE sprites, lit sprites, trans
sprites, lines, pixels, squares, triangles, polygons, or any combination!
--
Andrew Gillett
http://argnet.fatal-design.com/
ICQ: 12142937
- Raw text -