summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-29 22:00:35 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-29 22:00:35 +0000
commit5352c44d1ab542c64c421afcc690b200f7231a9d (patch)
tree4695c79a788c3ab9daeaf2972052a6ea9821bf13 /src/resources/image.h
parent52a7af6227d0b2ff94ff2c8fecd708d4d6a71466 (diff)
downloadmana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.gz
mana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.bz2
mana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.xz
mana-5352c44d1ab542c64c421afcc690b200f7231a9d.zip
Clean up of the ConfigListener and Resource interfaces.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index a4a65787..6fc4e89a 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -58,7 +58,7 @@ class Image : public Resource
* otherwise.
*/
static Image*
- load(void* buffer, unsigned int bufferSize);
+ load(void* buffer, unsigned int bufferSize, const std::string &idPath);
/**
* Frees the resources created by SDL.
@@ -113,9 +113,10 @@ class Image : public Resource
* Constructor.
*/
#ifdef USE_OPENGL
- Image(GLuint glimage, int width, int height, int texWidth, int texHeight);
+ Image(const std::string &idPath, GLuint glimage, int width, int height,
+ int texWidth, int texHeight);
#endif
- Image(SDL_Surface *image);
+ Image(const std::string &idPath, SDL_Surface *image);
SDL_Rect bounds;
bool loaded;