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 71 of file openglsdlimageloader.hpp.

Public Member Functions

virtual Imageload (const std::string &filename, bool convertToDisplayFormat=true)
 Loads an image by calling the image's ImageLoader.


Member Function Documentation

virtual Image* gcn::OpenGLSDLImageLoader::load ( const std::string &  filename,
bool  convertToDisplayFormat = true 
) [inline, 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.

Reimplemented from gcn::SDLImageLoader.

Definition at line 77 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 Sat Jul 29 19:38:49 2006 for Guichan by  doxygen 1.4.7