summaryrefslogtreecommitdiff
path: root/src/render/graphicsdef.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-15 00:26:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-15 00:26:35 +0300
commitff516e9f60e9554e8938d04192a8e5ec9efb5647 (patch)
treeb134dd0202377c5b182f62870b983fe078700e28 /src/render/graphicsdef.hpp
parent269f642099ec8e4c6bcf735496c32ee8019aaf1b (diff)
downloadplus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.gz
plus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.bz2
plus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.xz
plus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.zip
fix code style.
Diffstat (limited to 'src/render/graphicsdef.hpp')
-rw-r--r--src/render/graphicsdef.hpp55
1 files changed, 28 insertions, 27 deletions
diff --git a/src/render/graphicsdef.hpp b/src/render/graphicsdef.hpp
index bd9e80b37..80d3c7cf8 100644
--- a/src/render/graphicsdef.hpp
+++ b/src/render/graphicsdef.hpp
@@ -26,12 +26,12 @@ public:
* image for the inside.
*/
void drawImageRect(int x, int y,
- int w, int h,
- const ImageRect &imgRect);
+ int w, int h,
+ const ImageRect &imgRect);
bool drawNet(const int x1, const int y1,
- const int x2, const int y2,
- const int width, const int height) override final;
+ const int x2, const int y2,
+ const int width, const int height) override final;
void _beginDraw();
@@ -45,33 +45,33 @@ public:
* Draws a resclaled version of the image
*/
bool drawRescaledImage(const Image *const image,
- int dstX, int dstY,
- const int desiredWidth,
- const int desiredHeight) override final;
+ int dstX, int dstY,
+ const int desiredWidth,
+ const int desiredHeight) override final;
void drawPattern(const Image *const image,
- const int x, const int y,
- const int w, const int h) override final;
+ const int x, const int y,
+ const int w, const int h) override final;
void inline drawPatternInline(const Image *const image,
const int x, const int y,
const int w, const int h);
void drawRescaledPattern(const Image *const image,
- const int x, const int y,
- const int w, const int h,
- const int scaledWidth,
- const int scaledHeight) override final;
+ const int x, const int y,
+ const int w, const int h,
+ const int scaledWidth,
+ const int scaledHeight) override final;
void calcPattern(ImageVertexes *const vert,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const override final;
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const override final;
void calcPattern(ImageCollection *const vert,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const override final;
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const override final;
void calcTileVertexes(ImageVertexes *const vert,
const Image *const image,
@@ -83,7 +83,8 @@ public:
void drawTileVertexes(const ImageVertexes *const vert) override final;
- void drawTileCollection(const ImageCollection *const vertCol) override final;
+ void drawTileCollection(const ImageCollection
+ *const vertCol) override final;
void updateScreen() override final;
@@ -115,22 +116,22 @@ public:
const bool noFrame) override final;
bool drawImage(const Image *const image,
- int dstX, int dstY) override final;
+ int dstX, int dstY) override final;
void drawImageCached(const Image *const image,
- int x, int y) override final;
+ int x, int y) override final;
void drawPatternCached(const Image *const image,
- const int x, const int y,
- const int w, const int h) override final;
+ const int x, const int y,
+ const int w, const int h) override final;
void completeCache() override final;
private:
void inline calcImageRect(ImageVertexes *const vert,
- int x, int y,
- int w, int h,
- const ImageRect &imgRect);
+ int x, int y,
+ int w, int h,
+ const ImageRect &imgRect);
void inline calcPatternInline(ImageVertexes *const vert,
const Image *const image,