[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-users] PG_Image::SetColorKey ???
From: |
Keith Swyer |
Subject: |
[paragui-users] PG_Image::SetColorKey ??? |
Date: |
Wed, 17 Jul 2002 15:04:03 -0300 |
i was thinking that it would be nice to allow for a PG_Image to have a
transparent surface given a color.
void SetColorKey (Uint8 R, Uint8 G, Uint8 B){
ColorKey=SDL_MapRGB(my_image->format, R, G, B);
SDL_SetColorKey(my_image, SDL_SRCCOLORKEY,ColorKey);
}
alex? andrew?
yes or no?
- [paragui-users] PG_Image::SetColorKey ???,
Keith Swyer <=