summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-14 12:39:24 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-14 12:39:24 +0300
commit8ba9dc8011a3b17d97828f9a8b800f8ad56459bf (patch)
tree08ed78a8911c288d7984af662f93836c9b8a6cf7 /src/resources/resourcemanager.h
parenta42faf3f01378c00b2410905c7fb78f3b5270790 (diff)
downloadmanaplus-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.tar.gz
manaplus-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.tar.bz2
manaplus-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.tar.xz
manaplus-8ba9dc8011a3b17d97828f9a8b800f8ad56459bf.zip
Add to resourcemanager method to load imageset from image.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h2
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);
/**