30 #ifndef _CEGUITGAImageCodec_h_
31 #define _CEGUITGAImageCodec_h_
32 #include "../../ImageCodec.h"
34 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
35 # ifdef CEGUITGAIMAGECODEC_EXPORTS
36 # define CEGUITGAIMAGECODEC_API __declspec(dllexport)
38 # define CEGUITGAIMAGECODEC_API __declspec(dllimport)
41 # define CEGUITGAIMAGECODEC_API
68 static void flipVertImageTGA(ImageTGA* img);
70 static void flipHorzImageTGA(ImageTGA* img);
76 static ImageTGA* loadTGA(
const unsigned char* buffer,
size_t buffer_size);
81 static void convertRGBToRGBA(ImageTGA* img);
107 #endif // end of guard _CEGUITGAImageCodec_h_