From ad02b24b25f565a274ff8ec8408acefc1c232e12 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Dec 2012 21:06:21 +0300 Subject: Remove unused drawing class. --- src/safeopenglgraphics.cpp | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'src/safeopenglgraphics.cpp') diff --git a/src/safeopenglgraphics.cpp b/src/safeopenglgraphics.cpp index 6b6c80116..076edbfbb 100644 --- a/src/safeopenglgraphics.cpp +++ b/src/safeopenglgraphics.cpp @@ -333,26 +333,6 @@ void SafeOpenGLGraphics::drawRescaledImagePattern(const Image *const image, glEnd(); } -bool SafeOpenGLGraphics::calcImageRect(GraphicsVertexes *const vert, - const int x, const int y, - const int w, const int h, - const Image *const topLeft A_UNUSED, - const Image *const topRight A_UNUSED, - const Image *const bottomLeft A_UNUSED, - const Image *const bottomRight A_UNUSED, - const Image *const top A_UNUSED, - const Image *const right A_UNUSED, - const Image *const bottom A_UNUSED, - const Image *const left A_UNUSED, - const Image *const center A_UNUSED) -{ - if (!vert) - return false; - - vert->init(x, y, w, h); - return true; -} - void SafeOpenGLGraphics::calcTile(ImageCollection *const vertCol A_UNUSED, const Image *const image A_UNUSED, int x A_UNUSED, int y A_UNUSED) @@ -370,18 +350,6 @@ void SafeOpenGLGraphics::drawTile(const ImageVertexes *const vert A_UNUSED) } -void SafeOpenGLGraphics::drawImageRect2(GraphicsVertexes* vert, - const ImageRect &imgRect) -{ - if (!vert) - return; - - drawImageRect(vert->getX(), vert->getY(), vert->getW(), vert->getH(), - imgRect.grid[0], imgRect.grid[2], imgRect.grid[6], imgRect.grid[8], - imgRect.grid[1], imgRect.grid[5], imgRect.grid[7], imgRect.grid[3], - imgRect.grid[4]); -} - void SafeOpenGLGraphics::updateScreen() { BLOCK_START("Graphics::updateScreen") -- cgit v1.2.3-60-g2f50