7 #ifndef __image_ImageCommon_h__ 8 #define __image_ImageCommon_h__ 32 virtual I32 serial(
void)
const;
36 virtual U32 regionCount(
void)
const {
return 0; }
37 virtual String regionName(U32 a_regionIndex)
const {
return ""; }
40 virtual String pickRegion(I32 a_x,I32 a_y)
const {
return ""; }
44 void incrementSerial(
void);
Image and texture handling.
Definition: ImageI.h:26
kernel
Definition: namespace.dox:3
virtual I32 loadSelect(String filename)
load an image from file, returning its ID
Definition: ImageCommon.h:28
virtual I32 interpretSelect(void *data, U32 size)
create an image from raw bytes, returning its ID
Definition: ImageCommon.h:29
General functionality for image support.
Definition: ImageCommon.h:20
virtual BWORD save(String filename)
save the selected image to file
Definition: ImageCommon.h:34
Automatically reference-counted string container.
Definition: String.h:128
virtual I32 interpretSelect(String a_source)
create an image from text, returning its ID
Definition: ImageCommon.h:30
virtual I32 createSelect(void)
create an empty image, returning its ID
Definition: ImageCommon.h:27