summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-02 04:36:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-02 04:37:42 +0300
commitca58a3cced99fc2a8989da0155c1927bc0f08b6f (patch)
treec8fc16ac2c5c0a9184c17c2920266b96934ed28f /src/resources/image.h
parentd4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa (diff)
downloadmv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.gz
mv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.bz2
mv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.xz
mv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.zip
Replace some getters to direct member access in Image class.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 4f59ba1ae..72b85cc1e 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -214,13 +214,14 @@ class Image : public Resource
static int mTextureType;
#endif
+ SDL_Rect mBounds;
+
protected:
// -----------------------
// Generic protected members
// -----------------------
- SDL_Rect mBounds;
bool mLoaded;
float mAlpha;
bool mHasAlphaChannel;