delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/27/22:05:52

Message-Id: <199907280205.WAA05859@delorie.com>
From: "Dan Gold" <TedMat AT CoastNet DOT com>
To: <djgpp AT delorie DOT com>
Subject: Re: Allegro, static mouse_pointer
Date: Tue, 26 Jan 1999 08:24:40 -0800
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

//**************************************************************************
*****//
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019