[AD] set_mask_color

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


While talking with a chap on IRC it came to my attention that there is no way to change the masking color for a given color depth. Now, I cant think of a whole lot of reasons to change the masking color but maybe someone( as this fellow tried to do ) would like to. Is it worth it supply the user with a function with a set_mask_color() function or possibly add another parameter to all functions using the masking color, like masked_blit(), to change the masking color? Right now the masking color is #define'd for each color depth. All that would need to happen is to make this a global int.

come to think of it, I think I could make some neat effects if I could change the masking color on the fly. What do yall think?




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