gcn::AllegroImageLoader Class Reference

#include <allegroimageloader.hpp>

Inheritance diagram for gcn::AllegroImageLoader:

gcn::ImageLoader List of all members.

Detailed Description

Allegro implementation of ImageLoader.

Definition at line 72 of file allegroimageloader.hpp.

Public Member Functions

virtual Imageload (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)


Member Function Documentation

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.

Parameters:
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().


The documentation for this class was generated from the following files:
Generated on Sat Jul 29 19:38:48 2006 for Guichan by  doxygen 1.4.7