Re: [AD] mouse colors

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


> > if you want a different mouse sprite, you can use Allegro's
> > set_mouse_sprite there's no need to change it in the main library ;)
>
> > But what if you don't want to set a different cursor, just a different
> > palette? Javier, you could even add a function to set the mouse colors
> > to whatever the user prefers (eg. set_mouse_sprite_colors or something).

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)

can someone else add it to the docs?

>
> However, I agree with Javier. His patch would make the truecolor modes
> consistent with the default 8bpp palette and with the Windows desktop too.

also in this patch

my editor have problems with indent, so plx.. can someone fix it?
thnx

Attachment: allegro.h.dif
Description: video/dv

Attachment: mouse.c.dif
Description: video/dv



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