#include <allegroimageloader.hpp>
Inheritance diagram for gcn::AllegroImageLoader:
Definition at line 72 of file allegroimageloader.hpp.
Public Member Functions | |
virtual Image * | load (const std::string &filename, bool convertToDisplayFormat=true) |
Loads an image by calling the image's ImageLoader. | |
Protected Member Functions | |
virtual BITMAP * | loadBitmap (const std::string &filename, PALETTE pal) |
Image * gcn::AllegroImageLoader::load | ( | const std::string & | filename, | |
bool | convertToDisplayFormat = true | |||
) | [virtual] |
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.
filename | the file to load. | |
convertToDisplayFormat | true if the image should be converted to display, false otherwise. |
Implements gcn::ImageLoader.
Definition at line 68 of file allegroimageloader.cpp.
References gcn::Image::convertToDisplayFormat(), and loadBitmap().