summaryrefslogtreecommitdiff
path: root/src/sdl2graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-24 16:12:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commit889ea19ddd5b4240375793d5030a04ed4642ec66 (patch)
treed1694423834f8d4be86383ad28702845dfdadf2f /src/sdl2graphics.h
parentb70bbf075a20524e6c1859fb18db0865c65182ca (diff)
downloadmanaverse-889ea19ddd5b4240375793d5030a04ed4642ec66.tar.gz
manaverse-889ea19ddd5b4240375793d5030a04ed4642ec66.tar.bz2
manaverse-889ea19ddd5b4240375793d5030a04ed4642ec66.tar.xz
manaverse-889ea19ddd5b4240375793d5030a04ed4642ec66.zip
extract surface draw into surfacegraphics class.
Diffstat (limited to 'src/sdl2graphics.h')
-rw-r--r--src/sdl2graphics.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sdl2graphics.h b/src/sdl2graphics.h
index 583be5e8a..35659161d 100644
--- a/src/sdl2graphics.h
+++ b/src/sdl2graphics.h
@@ -42,12 +42,6 @@ struct SDL_Surface;
class SDLGraphics : public Graphics
{
public:
- enum BlitMode
- {
- BLIT_NORMAL = 0,
- BLIT_GFX
- };
-
/**
* Constructor.
*/
@@ -122,12 +116,6 @@ class SDLGraphics : public Graphics
const int w, const int h,
const ImageRect &imgRect);
- void setBlitMode(const BlitMode mode)
- { mBlitMode = mode; }
-
- BlitMode getBlitMode() const A_WARN_UNUSED
- { return mBlitMode; }
-
void fillRectangle(const gcn::Rectangle &rect) override;
void drawRectangle(const gcn::Rectangle &rect) override;
@@ -156,7 +144,6 @@ class SDLGraphics : public Graphics
void drawVLine(int x, int y1, int y2);
- BlitMode mBlitMode;
uint32_t mOldPixel;
int mOldAlpha;
};