X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fimage.h;h=137f856f21f5736d40dbecae6275a26919c42536;hb=1ca709deba08e55d95066be564a8fd43a321af19;hp=db65010311425bb988336bac7db6317839b6d075;hpb=1023b38fa278cea71fba3d2881e1bfde930cd025;p=libs%2Fgui.git diff --git a/source/graphics/image.h b/source/graphics/image.h index db65010..137f856 100644 --- a/source/graphics/image.h +++ b/source/graphics/image.h @@ -1,7 +1,9 @@ #ifndef MSP_GRAPHICS_IMAGE_H_ #define MSP_GRAPHICS_IMAGE_H_ +#include #include +#include #include "pixelformat.h" namespace Msp { @@ -35,7 +37,7 @@ public: ~Image(); void load_file(const std::string &); - void load_memory(const void *, unsigned); + void load_io(IO::Base &); PixelFormat get_format() const; unsigned get_width() const; unsigned get_height() const;