summaryrefslogtreecommitdiff
path: root/src/render/sdlgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 18:45:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 18:45:00 +0300
commite29a87a240fe2f33c51f4e15067122960f667d66 (patch)
treeec58d6c28e3ce18966b32495df860bc85aa94f87 /src/render/sdlgraphics.h
parent00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e (diff)
downloadplus-e29a87a240fe2f33c51f4e15067122960f667d66.tar.gz
plus-e29a87a240fe2f33c51f4e15067122960f667d66.tar.bz2
plus-e29a87a240fe2f33c51f4e15067122960f667d66.tar.xz
plus-e29a87a240fe2f33c51f4e15067122960f667d66.zip
add drawPatternInline into renders for internal usage.
Diffstat (limited to 'src/render/sdlgraphics.h')
-rw-r--r--src/render/sdlgraphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/sdlgraphics.h b/src/render/sdlgraphics.h
index 1b447c4a4..6fb1fd337 100644
--- a/src/render/sdlgraphics.h
+++ b/src/render/sdlgraphics.h
@@ -71,6 +71,10 @@ class SDLGraphics final : public Graphics
const int x, const int y,
const int w, const int h) override final;
+ void inline drawPatternInline(const Image *const image,
+ const int x, const int y,
+ const int w, const int h);
+
void drawRescaledPattern(const Image *const image,
const int x, const int y,
const int w, const int h,