|
@@ -143,7 +143,6 @@ namespace CSDL_Ext
|
|
|
SDL_Surface * rotate03(SDL_Surface * toRot); //rotate 180 degrees
|
|
SDL_Surface * rotate03(SDL_Surface * toRot); //rotate 180 degrees
|
|
|
SDL_Cursor * SurfaceToCursor(SDL_Surface *image, int hx, int hy); //creates cursor from bitmap
|
|
SDL_Cursor * SurfaceToCursor(SDL_Surface *image, int hx, int hy); //creates cursor from bitmap
|
|
|
Uint32 SDL_GetPixel(SDL_Surface *surface, const int & x, const int & y, bool colorByte = false);
|
|
Uint32 SDL_GetPixel(SDL_Surface *surface, const int & x, const int & y, bool colorByte = false);
|
|
|
- SDL_Color SDL_GetPixelColor(SDL_Surface *surface, int x, int y); //returns color of pixel at given position
|
|
|
|
|
void alphaTransform(SDL_Surface * src); //adds transparency and shadows (partial handling only; see examples of using for details)
|
|
void alphaTransform(SDL_Surface * src); //adds transparency and shadows (partial handling only; see examples of using for details)
|
|
|
bool isTransparent(SDL_Surface * srf, int x, int y); //checks if surface is transparent at given position
|
|
bool isTransparent(SDL_Surface * srf, int x, int y); //checks if surface is transparent at given position
|
|
|
|
|
|