00001 #ifndef HEADER_SURFACETOOL_H 00002 #define HEADER_SURFACETOOL_H 00003 00004 #include "SDL.h" 00005 00006 /** 00007 * Surface rutines. 00008 */ 00009 class SurfaceTool { 00010 public: 00011 static SDL_Surface *createEmpty(SDL_Surface *surface, 00012 int width=0, int height=0); 00013 static SDL_Surface *createClone(SDL_Surface *surface); 00014 static void alphaFill(SDL_Surface *surface, SDL_Rect *dstrect, 00015 const SDL_Color &color); 00016 }; 00017 00018 #endif