From 49a7df51386e49d51b7bdd626265f61be3833a3d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 May 2014 21:28:29 +0300 Subject: Move atlasitem into separate file. --- src/resources/atlasmanager.h | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/resources/atlasmanager.h') 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 { -- cgit v1.2.3-60-g2f50