summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 05:16:27 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 05:16:27 +0000
commite5f795ad9952b8bba6993ee3e324b22a0f104816 (patch)
tree1602ac0f74865135eae5acf935b0a285a8e918c2 /src/resources/image.h
parent7593d6c71e2331c3e43c732db60ad03ee4d5385d (diff)
downloadmana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.gz
mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.bz2
mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.xz
mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.zip
Made all class members named like mClassMember.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 44142155..1f67fcae 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -70,14 +70,14 @@ class Image : public Resource
* Returns the width of the image.
*/
virtual int
- getWidth() const { return bounds.w; }
+ getWidth() const { return mBounds.w; }
/**
* Returns the height of the image.
*/
virtual int
- getHeight() const { return bounds.h; }
+ getHeight() const { return mBounds.h; }
/**
* Creates a new image with the desired clipping rectangle.
@@ -119,8 +119,8 @@ class Image : public Resource
#endif
Image(const std::string &idPath, SDL_Surface *image);
- SDL_Rect bounds;
- bool loaded;
+ SDL_Rect mBounds;
+ bool mLoaded;
#ifdef USE_OPENGL
GLuint mGLImage;