diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-28 13:27:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-28 13:27:26 +0300 |
commit | 8f018529676006ed744138a929fcc621694d6d75 (patch) | |
tree | 03ef706a48100c1bb42a4611add5601844d2cbf5 /src/render/graphics.h | |
parent | ad43ff0ddf9b0484e00db7b7f0930bad975bf21a (diff) | |
download | manaplus-8f018529676006ed744138a929fcc621694d6d75.tar.gz manaplus-8f018529676006ed744138a929fcc621694d6d75.tar.bz2 manaplus-8f018529676006ed744138a929fcc621694d6d75.tar.xz manaplus-8f018529676006ed744138a929fcc621694d6d75.zip |
In renderers replace ImagePattern in methods into Pattern.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index 79dc008b9..5bb82e40d 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -176,18 +176,18 @@ class Graphics : public gcn::Graphics const int desiredHeight, const bool useColor = false) = 0; - virtual void drawImagePattern(const Image *const image, - const int x, const int y, - const int w, const int h) = 0; + virtual void drawPattern(const Image *const image, + const int x, const int y, + const int w, const int h) = 0; /** * Draw a pattern based on a rescaled version of the given image... */ - virtual void drawRescaledImagePattern(const Image *const image, - const int x, const int y, - const int w, const int h, - const int scaledWidth, - const int scaledHeight) = 0; + virtual void drawRescaledPattern(const Image *const image, + const int x, const int y, + const int w, const int h, + const int scaledWidth, + const int scaledHeight) = 0; /** * Draws a rectangle using images. 4 corner images, 4 side images and 1 @@ -224,15 +224,15 @@ class Graphics : public gcn::Graphics const Image *const left, const Image *const center); - virtual void calcImagePattern(ImageVertexes *const vert, - const Image *const image, - const int x, const int y, - const int w, const int h) const = 0; + virtual void calcPattern(ImageVertexes *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const = 0; - virtual void calcImagePattern(ImageCollection *const vert, - const Image *const image, - const int x, const int y, - const int w, const int h) const = 0; + virtual void calcPattern(ImageCollection *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const = 0; virtual void calcTileVertexes(ImageVertexes *const vert, const Image *const image, |