Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

FTarga.h

Go to the documentation of this file.
00001 #ifndef FLASH_HEADER_TARGA
00002 #define FLASH_HEADER_TARGA
00003 
00004 #include "FBase.h"
00005 
00006 class FlashTarga
00007 {
00008 public:
00009         FlashTarga(char *_fname) : fname(_fname), data(NULL) {}
00010         ~FlashTarga() { if(data != NULL) free(data); }
00011         
00012         const unsigned char *GetData() { return data; }
00013         void Read();
00014         
00015         UWORD GetWidth() { return width; }
00016         UWORD GetHeight() { return height; }
00017 
00018         UWORD width;
00019         UWORD height;
00020 
00021         char *fname;
00022         unsigned char *data;
00023 
00024 };
00025 
00026 #endif
00027 

Generated at Wed Aug 1 13:33:51 2001 for SWFSource by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001