24 #ifndef RESOURCES_SURFACEIMAGEHELPER_H
25 #define RESOURCES_SURFACEIMAGEHELPER_H
29 RESOURCES_SDLIMAGEHELPER_H
60 const int width,
const int height,
65 { mEnableAlphaCache = n; }
68 {
return mEnableAlphaCache; }
77 static SDL_Surface* SDLDuplicateSurface(SDL_Surface *
const tmpImage)
80 static int combineSurface(SDL_Surface *
restrict const src,
89 static bool mEnableAlphaCache;
virtual Image * createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, const float alpha) const
virtual RenderType useOpenGL() const
virtual Image * loadSurface(SDL_Surface *const)
#define A_DELETE_COPY(func)
#define SurfaceImageHelper