home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
flash078.zip
/
flashsource-r0_7_8.zip
/
FTarga.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-07-30
|
428b
|
28 lines
#ifndef FLASH_HEADER_TARGA
#define FLASH_HEADER_TARGA
#include "FBase.h"
class FlashTarga
{
public:
FlashTarga(char *_fname) : fname(_fname), data(NULL) {}
~FlashTarga() { if(data != NULL) free(data); }
const unsigned char *GetData() { return data; }
void Read();
UWORD GetWidth() { return width; }
UWORD GetHeight() { return height; }
UWORD width;
UWORD height;
char *fname;
unsigned char *data;
};
#endif