gcn::OpenGLSDLImageLoader Class Reference

#include <openglsdlimageloader.hpp>

Inheritance diagram for gcn::OpenGLSDLImageLoader:

gcn::SDLImageLoader gcn::ImageLoader List of all members.

Detailed Description

OpenGL ImageLoader that loads images with SDL.

Definition at line 72 of file openglsdlimageloader.hpp.

Public Member Functions

virtual Imageload (const std::string &filename, bool convertToDisplayFormat=true)
 Loads an image.


Member Function Documentation

virtual Image* gcn::OpenGLSDLImageLoader::load ( const std::string &  filename,
bool  convertToDisplayFormat = true 
) [inline, virtual]

Loads an image.

NOTE: The functions Image::getPixel and Image::putPixel are only guaranteed to work before an image has been converted to display format.

Parameters:
filename The filename of the image to load.
convertToDisplayFormat True if the image should be converted to display, false otherwise.

Reimplemented from gcn::SDLImageLoader.

Definition at line 78 of file openglsdlimageloader.hpp.

References gcn::SDLImageLoader::convertToStandardFormat(), and gcn::SDLImageLoader::loadSDLSurface().


The documentation for this class was generated from the following file:
Generated on Sun Jan 20 21:48:15 2008 for Guichan by  doxygen 1.5.2