diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:04 +0300 |
commit | 950b1bc690ff36013e5e650572872ee7acd5e942 (patch) | |
tree | 3718081fb03d4e80fc657304b824a59fa5b411ec /src/render/safeopenglgraphics.h | |
parent | 1814650ad896a0f9684d279fa5843771e767748a (diff) | |
download | mv-950b1bc690ff36013e5e650572872ee7acd5e942.tar.gz mv-950b1bc690ff36013e5e650572872ee7acd5e942.tar.bz2 mv-950b1bc690ff36013e5e650572872ee7acd5e942.tar.xz mv-950b1bc690ff36013e5e650572872ee7acd5e942.zip |
add final keyword to render files.
Diffstat (limited to 'src/render/safeopenglgraphics.h')
-rw-r--r-- | src/render/safeopenglgraphics.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h index 666bc574a..34a8912ff 100644 --- a/src/render/safeopenglgraphics.h +++ b/src/render/safeopenglgraphics.h @@ -52,7 +52,7 @@ class SafeOpenGLGraphics final : public Graphics bool setVideoMode(const int w, const int h, const int bpp, const bool fs, const bool hwaccel, - const bool resize, const bool noFrame) override; + const bool resize, const bool noFrame) override final; /** * Draws a resclaled version of the image @@ -61,7 +61,7 @@ class SafeOpenGLGraphics final : public Graphics int dstX, int dstY, const int width, const int height, const int desiredWidth, const int desiredHeight, - const bool useColor) override; + const bool useColor) override final; /** * Used to get the smooth rescale option over the standard function. @@ -74,7 +74,7 @@ class SafeOpenGLGraphics final : public Graphics void drawImagePattern(const Image *const image, const int x, const int y, - const int w, const int h) override; + const int w, const int h) override final; /** * Draw a pattern based on a rescaled version of the given image... @@ -83,44 +83,44 @@ class SafeOpenGLGraphics final : public Graphics const int x, const int y, const int w, const int h, const int scaledWidth, - const int scaledHeight) override; + const int scaledHeight) override final; void calcTile(ImageVertexes *const vert, const Image *const image, - int x, int y) const override; + int x, int y) const override final; void calcTile(ImageCollection *const vertCol, - const Image *const image, int x, int y) override; + const Image *const image, int x, int y) override final; void calcImagePattern(ImageVertexes *const vert, const Image *const image, const int x, const int y, - const int w, const int h) const; + const int w, const int h) const override final; void calcImagePattern(ImageCollection *const vert, const Image *const image, const int x, const int y, - const int w, const int h) const; + const int w, const int h) const override final; - void drawTile(const ImageVertexes *const vert) override; + void drawTile(const ImageVertexes *const vert) override final; - void drawTile(const ImageCollection *const vertCol) override; + void drawTile(const ImageCollection *const vertCol) override final; - void updateScreen() override; + void updateScreen() override final; bool calcWindow(ImageCollection *const vertCol, const int x, const int y, const int w, const int h, - const ImageRect &imgRect); + const ImageRect &imgRect) override final; - void _beginDraw(); + void _beginDraw() override final; - void _endDraw(); + void _endDraw() override final; - bool pushClipArea(gcn::Rectangle area); + bool pushClipArea(gcn::Rectangle area) override final; - void popClipArea(); + void popClipArea() override final; - void setColor(const gcn::Color &color) + void setColor(const gcn::Color &color) override final { mColor = color; mColor2 = color; @@ -134,24 +134,24 @@ class SafeOpenGLGraphics final : public Graphics mColorAlpha = (color.a != 255); } - void drawPoint(int x, int y); + void drawPoint(int x, int y) override final; - void drawLine(int x1, int y1, int x2, int y2); + void drawLine(int x1, int y1, int x2, int y2) override final; void drawRectangle(const gcn::Rectangle &rect, const bool filled); - void drawRectangle(const gcn::Rectangle &rect); + void drawRectangle(const gcn::Rectangle &rect) override final; - void fillRectangle(const gcn::Rectangle &rect) override; + void fillRectangle(const gcn::Rectangle &rect) override final; void setTargetPlane(int width, int height); /** * Takes a screenshot and returns it as SDL surface. */ - SDL_Surface *getScreenshot() override A_WARN_UNUSED; + SDL_Surface *getScreenshot() override final A_WARN_UNUSED; - void prepareScreenshot() override; + void prepareScreenshot() override final; static void bindTexture(const GLenum target, const GLuint texture); @@ -162,7 +162,7 @@ class SafeOpenGLGraphics final : public Graphics int srcX, int srcY, int dstX, int dstY, const int width, const int height, - const bool useColor); + const bool useColor) override final; void setTexturingAndBlending(const bool enable); |