diff options
Diffstat (limited to 'src/opengl1graphics.h')
-rw-r--r-- | src/opengl1graphics.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/opengl1graphics.h b/src/opengl1graphics.h index 04555e589..0c29ec1ca 100644 --- a/src/opengl1graphics.h +++ b/src/opengl1graphics.h @@ -91,6 +91,16 @@ class OpenGL1Graphics : public Graphics int x, int y, int w, int h, int scaledWidth, int scaledHeight); + bool calcImageRect(GraphicsVertexes* vert, + int x, int y, int w, int h, + Image *topLeft, Image *topRight, + Image *bottomLeft, Image *bottomRight, + Image *top, Image *right, + Image *bottom, Image *left, + Image *center); + + void drawImageRect2(GraphicsVertexes* vert, const ImageRect &imgRect); + void updateScreen(); void _beginDraw(); |