31 #ifndef _CEGUITGAImageCodec_h_
32 #define _CEGUITGAImageCodec_h_
33 #include "../../CEGUIImageCodec.h"
35 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
36 # ifdef CEGUITGAIMAGECODEC_EXPORTS
37 # define CEGUITGAIMAGECODEC_API __declspec(dllexport)
39 # define CEGUITGAIMAGECODEC_API __declspec(dllimport)
42 # define CEGUITGAIMAGECODEC_API
69 static void flipVertImageTGA(ImageTGA* img);
71 static void flipHorzImageTGA(ImageTGA* img);
77 static ImageTGA* loadTGA(
const unsigned char* buffer,
size_t buffer_size);
82 static void convertRGBToRGBA(ImageTGA* img);
108 #endif // end of guard _CEGUITGAImageCodec_h_