Inheritance diagram for Exponent::GUI::Graphics::CTGAImage:
Definition at line 32 of file CTGAImage.hpp.
Exponent::GUI::Graphics::CTGAImage::CTGAImage | ( | const CSystemString & | filename | ) |
Construction with a file name
filename | Name of the file to load |
CException | On load error |
Exponent::GUI::Graphics::CTGAImage::CTGAImage | ( | ) |
Construction
virtual Exponent::GUI::Graphics::CTGAImage::~CTGAImage | ( | ) | [virtual] |
Destruction
virtual EImageFormats Exponent::GUI::Graphics::CTGAImage::getImageFormat | ( | ) | const [inline, virtual] |
Get the format
EImageFormats | The format of the image |
Implements Exponent::GUI::Graphics::IImage.
Definition at line 67 of file CTGAImage.hpp.
References Exponent::GUI::Graphics::IImage::e_targa.
static CTGAImage* Exponent::GUI::Graphics::CTGAImage::getNewInstance | ( | const CSystemString & | path, | |
const CString & | filename | |||
) | [static] |
Get a new TGA image instance
path | The containing folder of the image | |
filename | the name of the file |
CTGAImage* | The new instance or NULL on error |
virtual bool Exponent::GUI::Graphics::CTGAImage::loadFromFile | ( | const CSystemString & | filename | ) | [virtual] |
Load from a file
filename | The name of the file, expected to be a 32bpp TGA file |
bool | True if loaded the image properly, false on error |
Reimplemented from Exponent::GUI::Graphics::CBaseImage.