ManaPlus
|
#include <atlasitem.h>
Public Member Functions | |
AtlasItem (Image *const image0) | |
int | calcMemoryLocal () const |
std::string | getCounterName () const |
Public Member Functions inherited from MemoryCounter | |
MemoryCounter () | |
virtual | ~MemoryCounter () |
int | calcMemory (const int level) const |
virtual int | calcMemoryChilds (const int level) const |
Data Fields | |
Image * | image |
std::string | name |
int | x |
int | y |
int | width |
int | height |
Definition at line 29 of file atlasitem.h.
|
inlineexplicit |
|
inlinevirtual |
Reimplemented from MemoryCounter.
Definition at line 44 of file atlasitem.h.
References AtlasItem(), and name.
|
inlinevirtual |
int AtlasItem::height |
Definition at line 59 of file atlasitem.h.
Referenced by AtlasManager::convertAtlas(), and AtlasManager::convertEmptyAtlas().
Image* AtlasItem::image |
Definition at line 54 of file atlasitem.h.
Referenced by AtlasManager::convertAtlas(), AtlasManager::convertEmptyAtlas(), AtlasManager::createSDLAtlas(), AtlasManager::injectToResources(), AtlasManager::moveToDeleted(), and AtlasResource::~AtlasResource().
std::string AtlasItem::name |
Definition at line 55 of file atlasitem.h.
Referenced by calcMemoryLocal(), AtlasManager::convertAtlas(), AtlasManager::convertEmptyAtlas(), AtlasManager::createSDLAtlas(), AtlasManager::emptySort(), getCounterName(), AtlasManager::injectToResources(), and AtlasManager::simpleSort().
int AtlasItem::width |
Definition at line 58 of file atlasitem.h.
Referenced by AtlasManager::convertAtlas(), and AtlasManager::convertEmptyAtlas().
int AtlasItem::x |
Definition at line 56 of file atlasitem.h.
Referenced by AtlasManager::convertAtlas(), AtlasManager::convertEmptyAtlas(), AtlasManager::createSDLAtlas(), AtlasManager::emptySort(), and AtlasManager::simpleSort().
int AtlasItem::y |
Definition at line 57 of file atlasitem.h.
Referenced by AtlasManager::convertAtlas(), AtlasManager::convertEmptyAtlas(), AtlasManager::createSDLAtlas(), AtlasManager::emptySort(), and AtlasManager::simpleSort().