summaryrefslogtreecommitdiff
path: root/src/resources/atlasmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 21:28:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 21:28:29 +0300
commit49a7df51386e49d51b7bdd626265f61be3833a3d (patch)
tree108e1b26e4c0fd00a7dd580037a932bbda00d29a /src/resources/atlasmanager.h
parentcba820971cfc204050aa9bbaccb55ba35fba4ae1 (diff)
downloadmanaverse-49a7df51386e49d51b7bdd626265f61be3833a3d.tar.gz
manaverse-49a7df51386e49d51b7bdd626265f61be3833a3d.tar.bz2
manaverse-49a7df51386e49d51b7bdd626265f61be3833a3d.tar.xz
manaverse-49a7df51386e49d51b7bdd626265f61be3833a3d.zip
Move atlasitem into separate file.
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r--src/resources/atlasmanager.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/resources/atlasmanager.h b/src/resources/atlasmanager.h
index cf461cc23..8fb2d6dcc 100644
--- a/src/resources/atlasmanager.h
+++ b/src/resources/atlasmanager.h
@@ -32,27 +32,7 @@
class AtlasResource;
class Resource;
-struct AtlasItem final
-{
- explicit AtlasItem(Image *const image0) :
- image(image0),
- name(),
- x(0),
- y(0),
- width(image0->mBounds.w),
- height(image0->mBounds.h)
- {
- }
-
- A_DELETE_COPY(AtlasItem)
-
- Image *image;
- std::string name;
- int x;
- int y;
- int width;
- int height;
-};
+struct AtlasItem;
struct TextureAtlas final
{