diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-14 12:39:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-14 12:39:24 +0300 |
commit | 8ba9dc8011a3b17d97828f9a8b800f8ad56459bf (patch) | |
tree | 08ed78a8911c288d7984af662f93836c9b8a6cf7 /src/resources/resourcemanager.h | |
parent | a42faf3f01378c00b2410905c7fb78f3b5270790 (diff) | |
download | mv-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.tar.gz mv-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.tar.bz2 mv-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.tar.xz mv-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.zip |
Add to resourcemanager method to load imageset from image.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 7a1e517c0..6abd8732e 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -202,6 +202,8 @@ class ResourceManager */ ImageSet *getImageSet(const std::string &imagePath, int w, int h); + ImageSet *getSubImageSet(Image *parent, int width, int height); + Image *getSubImage(Image *parent, int x, int y, int width, int height); /** |