#include <imageloader.hpp>
Inheritance diagram for gcn::ImageLoader:

Contains basic image loading functions every image loader should have. Image loaders should inherit from this class and impements it's functions.
Definition at line 71 of file imageloader.hpp.
Public Member Functions | |
| virtual | ~ImageLoader () |
| Destructor. | |
| virtual Image * | load (const std::string &filename, bool convertToDisplayFormat=true)=0 |
| Loads an image by calling the image's ImageLoader. | |
|
||||||||||||
|
Loads an image by calling the image's ImageLoader. NOTE: The functions getPixel and putPixel in Image are only guaranteed to work before an image has been converted to display format.
Implemented in gcn::AllegroImageLoader, gcn::OpenGLSDLImageLoader, and gcn::SDLImageLoader.
Referenced by gcn::Image::load(). |
1.3.8