diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-21 14:07:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-22 00:00:06 +0300 |
commit | 9ca479839b3a5fc7dbe75e94e15a0dd6da21bf16 (patch) | |
tree | 4aa2d89a08f00cad31d417ea790a4aa5a3455cde /src/resources/image.h | |
parent | 20727e946194e9bf984fc9b4dd7687a59fc82fc1 (diff) | |
download | plus-9ca479839b3a5fc7dbe75e94e15a0dd6da21bf16.tar.gz plus-9ca479839b3a5fc7dbe75e94e15a0dd6da21bf16.tar.bz2 plus-9ca479839b3a5fc7dbe75e94e15a0dd6da21bf16.tar.xz plus-9ca479839b3a5fc7dbe75e94e15a0dd6da21bf16.zip |
Add memorycounter interface. Impliment it in Image.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index 55f28a055..7fbbcac21 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -189,6 +189,8 @@ class Image notfinal : public Resource SDL_Surface* getSDLSurface() { return mSDLSurface; } + int calcMemoryLocal() override; + SDL_Rect mBounds; float mAlpha; |