{
get { return class_data(extensions); }
set { class_data(extensions) = value; } }
virtual bool ::Load(Bitmap bitmap, File f);
{
get { return class_data(extensions); }
set { class_data(extensions) = value; } }
virtual bool ::Load(Bitmap bitmap, File f);
- virtual bool ::Save(Bitmap bitmap, char * fileName, void * options);
- virtual ColorAlpha * ::LoadPalette(char * fileName, char * type);
+ virtual bool ::Save(Bitmap bitmap, const char * fileName, void * options);
+ virtual ColorAlpha * ::LoadPalette(const char * fileName, const char * type);
{
"gif", "jpg", "png", "bmp", "pcx", "memorybmp"
};
#define NUM_TYPES_TO_TRY ((int)(sizeof(typesToTry) / sizeof(char *)))
{
"gif", "jpg", "png", "bmp", "pcx", "memorybmp"
};
#define NUM_TYPES_TO_TRY ((int)(sizeof(typesToTry) / sizeof(char *)))
- bool Allocate(char * driverName, int width, int height, int stride, PixelFormat format, bool allocatePalette)
+ bool Allocate(const char * driverName, int width, int height, int stride, PixelFormat format, bool allocatePalette)