summaryrefslogtreecommitdiff
path: root/src/render/graphicsdef.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-29 22:31:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-29 22:31:02 +0300
commitbe877e12682b6f0e697b024f96a1dcaf4d0c8206 (patch)
treebe1277cc745460055c98242a5b1223b4853f381a /src/render/graphicsdef.hpp
parentc23b922eecefd6cd6421139cf7ec2b59eb87d748 (diff)
downloadmanaverse-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.gz
manaverse-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.bz2
manaverse-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.xz
manaverse-be877e12682b6f0e697b024f96a1dcaf4d0c8206.zip
In renderers add copyImage function.
For now it same with drawImage.
Diffstat (limited to 'src/render/graphicsdef.hpp')
-rw-r--r--src/render/graphicsdef.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/graphicsdef.hpp b/src/render/graphicsdef.hpp
index 6d3511f6b..19282584c 100644
--- a/src/render/graphicsdef.hpp
+++ b/src/render/graphicsdef.hpp
@@ -114,6 +114,9 @@ public:
bool drawImage(const Image *const image,
int dstX, int dstY) override final;
+ bool copyImage(const Image *const image,
+ int dstX, int dstY) override final;
+
void drawImageCached(const Image *const image,
int x, int y) override final;