summaryrefslogtreecommitdiff
path: root/src/sdlgraphics.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/sdlgraphics.h
parentb70bbf075a20524e6c1859fb18db0865c65182ca (diff)
downloadplus-889ea19ddd5b4240375793d5030a04ed4642ec66.tar.gz
plus-889ea19ddd5b4240375793d5030a04ed4642ec66.tar.bz2
plus-889ea19ddd5b4240375793d5030a04ed4642ec66.tar.xz
plus-889ea19ddd5b4240375793d5030a04ed4642ec66.zip
extract surface draw into surfacegraphics class.
Diffstat (limited to 'src/sdlgraphics.h')
-rw-r--r--src/sdlgraphics.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sdlgraphics.h b/src/sdlgraphics.h
index b0a076b26..db2ad93a0 100644
--- a/src/sdlgraphics.h
+++ b/src/sdlgraphics.h
@@ -45,12 +45,6 @@ struct SDL_Surface;
class SDLGraphics : public Graphics
{
public:
- enum BlitMode
- {
- BLIT_NORMAL = 0,
- BLIT_GFX
- };
-
/**
* Constructor.
*/
@@ -125,12 +119,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;
@@ -159,7 +147,6 @@ class SDLGraphics : public Graphics
void drawVLine(int x, int y1, int y2);
- BlitMode mBlitMode;
uint32_t mOldPixel;
int mOldAlpha;
};