Mail Archives: djgpp/1999/07/27/22:05:52
//**************************************************************************
*****//
Static makes the data only accessably to the module (or C file) it's
declared in. The actual declaration of mouse_pointer is in mouse.c
located in src/dgpp so only the mouse code can use it. To change
the mouse_pointer to your own bitmap using set_mouse_sprite and
then make your data the same as the data in mouse_pointer_data
array also declared as static in mouse.c. It's probably the colors
you want to change right, 255 being the inside of the mouse and 16
being the outline.
Hope that helped
from Dan Gold...
-=-=CATACOMB ABYSS]=-=-
http://www.geocities.com/SiliconValley/Port/1547/
//**************************************************************************
*****//
----------
> From: Nils Öster <nils DOT oster AT swipnet DOT se>
> To: djgpp AT delorie DOT com
> Subject: Allegro, static mouse_pointer
> Date: Tuesday, July 27, 1999 12:50 PM
>
> Why can't I reach Allegros built in mouse pointer, declared as
> extern static BITMAP *mouse_pointer in <allegro.h>?
>
> What does that static keyword mean anyway?
>
>
- Raw text -