Re: [AD] mouse pointer colors

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


>- calling set_mouse_sprite(NULL) after setting the palette and making 
>this official behaviour;
>
> I don't see why not - we haven't changed the API, just added a new
> feature. This won't break any existing code.

I agree. This is IMHO the best solution.

>- putting in special case code in palette sets to check if the current 
>mouse sprite is the default and adjusting it on the fly if so.  I don't 
>like this option.
>
> Probably best to skip this. Besides, if the program doesn't use the
> mouse code but does set the palette, this will caused the mouse code to
> be linked in (for those of use who still use static link).

Does the first solution not cause the same thing ?

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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