Re: [AD] mouse colors

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


Javier González <xaviergonz@xxxxxxxxxx> wrote:
> > Javier González <xaviergonz@xxxxxxxxxx> wrote:
> > >
> > > But what if the currently set mouse sprite is not the allegro one?
> >
> > set_mouse_sprite(NULL), or use `_mouse_pointer'.
> 
> No, i mean, what if the currently set bitmap is a bitmap from the
> user that function you purpose changes the color of the actual
> cursor bitmap, no matter what's it. isnt it?

"set_mouse_sprite(NULL)" will set the default Allegro sprite.  
You can then grab it with `_mouse_sprite', or the proposed
`get_mouse_sprite' function.

-- 
tjaden@xxxxxxxxxx - http://www.psynet.net/tjaden/
MARP (marp), n.  The impossible-to-find beginning of a roll of cellophane
tape.  -- Rich Hall, "Sniglets"



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