24 #ifndef RESOURCES_IMAGEHELPER_H
25 #define RESOURCES_IMAGEHELPER_H
32 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
33 #include <SDL_video.h>
69 const int width,
const int height,
77 const int width,
const int height,
101 static SDL_Surface *
loadPng(SDL_RWops *
const rw);
static void dumpSurfaceFormat(const SDL_Surface *const image)
virtual Image * createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, const float alpha) const
virtual void copySurfaceToImage(const Image *const image, const int x, const int y, SDL_Surface *const surface) const
static RenderType mUseOpenGL
virtual RenderType useOpenGL() const
static SDL_Surface * convertTo32Bit(SDL_Surface *const tmpImage)
virtual Image * loadSurface(SDL_Surface *const)
static void setEnableAlpha(const bool n)
virtual SDL_Surface * create32BitSurface(int width, int height) const
static void setOpenGlMode(const RenderType useOpenGL)
static SDL_Surface * loadPng(SDL_RWops *const rw)
Image * load(SDL_RWops *const rw)
ImageHelper * imageHelper
ImageHelper * surfaceImageHelper
#define A_DELETE_COPY(func)