From 09ec2b1ecc1a812e03878ccc07708a0aad02896a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 Aug 2013 21:20:39 +0300 Subject: Split from Graphics SDL related code into SDLGraphics. --- src/safeopenglgraphics.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/safeopenglgraphics.h') diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h index c134caa2d..469c4cda0 100644 --- a/src/safeopenglgraphics.h +++ b/src/safeopenglgraphics.h @@ -89,10 +89,27 @@ class SafeOpenGLGraphics final : public Graphics void calcTile(ImageCollection *const vertCol, const Image *const image, int x, int y) override; + void calcImagePattern(ImageVertexes *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const; + + void calcImagePattern(ImageCollection *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const; + void drawTile(const ImageVertexes *const vert) override; + void drawTile(const ImageCollection *const vertCol) override; + void updateScreen() override; + bool calcWindow(ImageCollection *const vertCol, + const int x, const int y, + const int w, const int h, + const ImageRect &imgRect); + void _beginDraw(); void _endDraw(); -- cgit v1.2.3-70-g09d2