diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 21:28:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 21:28:29 +0300 |
commit | 49a7df51386e49d51b7bdd626265f61be3833a3d (patch) | |
tree | 108e1b26e4c0fd00a7dd580037a932bbda00d29a /src/resources/atlasmanager.h | |
parent | cba820971cfc204050aa9bbaccb55ba35fba4ae1 (diff) | |
download | mv-49a7df51386e49d51b7bdd626265f61be3833a3d.tar.gz mv-49a7df51386e49d51b7bdd626265f61be3833a3d.tar.bz2 mv-49a7df51386e49d51b7bdd626265f61be3833a3d.tar.xz mv-49a7df51386e49d51b7bdd626265f61be3833a3d.zip |
Move atlasitem into separate file.
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r-- | src/resources/atlasmanager.h | 22 |
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 { |