summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 22:12:10 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:06 +0300
commit8714a174353529061c8c8d088d7246c4bd81000d (patch)
tree800067371dc1e4e425980afb9b54cf56f034ffa8 /src/resources/imagehelper.h
parentdee02b54a28994e78bd7e738ac0b49df9f59d67f (diff)
downloadplus-8714a174353529061c8c8d088d7246c4bd81000d.tar.gz
plus-8714a174353529061c8c8d088d7246c4bd81000d.tar.bz2
plus-8714a174353529061c8c8d088d7246c4bd81000d.tar.xz
plus-8714a174353529061c8c8d088d7246c4bd81000d.zip
Change outline function to better quality but slower.
Also add function to create 32 bit surfaces.
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r--src/resources/imagehelper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h
index a11a55e2e..83fc3e03c 100644
--- a/src/resources/imagehelper.h
+++ b/src/resources/imagehelper.h
@@ -90,6 +90,9 @@ class ImageHelper
void dumpSurfaceFormat(const SDL_Surface *const image) const;
+ virtual SDL_Surface *create32BitSurface(int width, int height)
+ A_WARN_UNUSED = 0;
+
static void setEnableAlpha(const bool n)
{ mEnableAlpha = n; }