Re: [AD] mouse pointer colors |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Peter Wang wrote: >>- calling set_mouse_sprite(NULL) after setting the palette and making >>this official behaviour; > >>- 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. I wrote (about 2nd 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). In reply to Eric Botcazou <ebotcazou@xxxxxxxxxx>: >Does the first solution not cause the same thing ? Only if you call set_mouse_sprite(0) after setting the palette; if you don't call it, then it won't get linked. Bye for now, -- Laurence Withers, lwithers@xxxxxxxxxx http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |