ProxyImage Class Reference

#include <imageloader.h>

List of all members.


Detailed Description

Definition at line 33 of file imageloader.h.


Public Member Functions

 ProxyImage (SDL_Surface *)
 ~ProxyImage ()
void free ()
int getWidth () const
int getHeight () const
gcn::Color getPixel (int x, int y)
void putPixel (int x, int y, gcn::Color const &color)
void convertToDisplayFormat ()
::ImagegetImage () const
 Gets the image handled by this proxy.

Private Attributes

::ImagemImage
 The real image.
SDL_Surface * mSDLImage
 An SDL surface kept around until Guichan is done reading pixels from an OpenGL texture.

Constructor & Destructor Documentation

ProxyImage::ProxyImage ( SDL_Surface *  s  ) 

Definition at line 32 of file imageloader.cpp.

ProxyImage::~ProxyImage (  ) 

Definition at line 37 of file imageloader.cpp.


Member Function Documentation

void ProxyImage::free (  ) 

Definition at line 42 of file imageloader.cpp.

int ProxyImage::getWidth ( void   )  const

Definition at line 56 of file imageloader.cpp.

int ProxyImage::getHeight ( void   )  const

Definition at line 61 of file imageloader.cpp.

gcn::Color ProxyImage::getPixel ( int  x,
int  y 
)

Definition at line 66 of file imageloader.cpp.

void ProxyImage::putPixel ( int  x,
int  y,
gcn::Color const &  color 
)

Definition at line 72 of file imageloader.cpp.

void ProxyImage::convertToDisplayFormat (  ) 

Definition at line 78 of file imageloader.cpp.

::Image* ProxyImage::getImage (  )  const [inline]

Gets the image handled by this proxy.

Definition at line 49 of file imageloader.h.


Member Data Documentation

::Image* ProxyImage::mImage [private]

The real image.

Definition at line 53 of file imageloader.h.

SDL_Surface* ProxyImage::mSDLImage [private]

An SDL surface kept around until Guichan is done reading pixels from an OpenGL texture.

Definition at line 59 of file imageloader.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5