From bbed1413d3ea2ef67f7fd7db146c372a7181ad43 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 20:04:35 +0300 Subject: add calcImageRect into each renderer. but copy function body to shared file. --- src/render/graphics.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/render/graphics.h') diff --git a/src/render/graphics.h b/src/render/graphics.h index 8567b4c1f..987c8f849 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -174,11 +174,6 @@ class Graphics : public gcn::Graphics const int w, const int h, const ImageRect &imgRect) = 0; - bool calcImageRect(ImageVertexes *const vert, - const int x, const int y, - const int w, const int h, - const ImageRect &imgRect); - virtual void calcPattern(ImageVertexes *const vert, const Image *const image, const int x, const int y, @@ -207,7 +202,7 @@ class Graphics : public gcn::Graphics const Image *const image, int x, int y) = 0; - virtual bool calcWindow(ImageCollection *const vertCol, + virtual void calcWindow(ImageCollection *const vertCol, const int x, const int y, const int w, const int h, const ImageRect &imgRect) = 0; -- cgit v1.2.3-60-g2f50