Re: [AD] mouse colors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Javier González <xaviergonz@xxxxxxxxxx> wrote:
> 
> ok, i've added a function
> 
> /* set_mouse_default_colors:
>  *  Changes the default mouse pointer colors. Set enable to false to use
>  *  the defaults of allegro.
>  */
> void set_mouse_default_colors(int enable, int col1, int col2)

Hmm, I don't like it.  You could use `_mouse_sprite' to get the
current sprite, copy it, adjust the colours, and set it with
`set_mouse_sprite'.  Too bad `_mouse_sprite' is internal.  Perhaps
rename it to `mouse_sprite' and expose it, or create a
`get_mouse_sprite' function?

-- 
CONAGRAPHS (KOHN a grafs), n.  The raised relief squares on an ice cream
cone. -- Rich Hall, "Sniglets"



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/