diff options
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r-- | src/resources/imagehelper.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h index b91d9aaee..6752f3eae 100644 --- a/src/resources/imagehelper.h +++ b/src/resources/imagehelper.h @@ -56,19 +56,18 @@ class ImageHelper notfinal * @return <code>NULL</code> if an error occurred, a valid pointer * otherwise. */ - Image *load(SDL_RWops *const rw) const A_WARN_UNUSED; + Image *load(SDL_RWops *const rw) A_WARN_UNUSED; - virtual Image *load(SDL_RWops *const rw, Dye - const &dye) const A_WARN_UNUSED; + virtual Image *load(SDL_RWops *const rw, Dye const &dye) A_WARN_UNUSED; #ifdef __GNUC__ - virtual Image *load(SDL_Surface *const) const A_WARN_UNUSED = 0; + virtual Image *load(SDL_Surface *const) A_WARN_UNUSED = 0; virtual Image *createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, - float alpha) const A_WARN_UNUSED = 0; + float alpha) A_WARN_UNUSED = 0; #else - virtual Image *load(SDL_Surface *) const A_WARN_UNUSED + virtual Image *load(SDL_Surface *) A_WARN_UNUSED { return nullptr; } virtual Image *createTextSurface(SDL_Surface *const tmpImage, @@ -96,6 +95,9 @@ class ImageHelper notfinal virtual RenderType useOpenGL() const A_WARN_UNUSED { return mUseOpenGL; } + virtual void postInit() + { } + protected: ImageHelper() { } |