IImageList



Describes minimum required functionality from image list component.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IImageList : public virtual IComponent
{
public:
    virtual int getImageCount() = 0; // Return image count 
    virtual Image *getImage(const int index) = 0; // Return image by index 
    virtual ITexture *getTexture(const int index) = 0; // Return(create if nessesary and possible) texture for image at specifed index 

    virtual int AddImage(Image *data) = 0; // Add image to list. Return index or -1 
    virtual bool DeleteImage(const int index) = 0; // Delete image by index 
    virtual bool DeleteImages() = 0; // Delete all images 
    virtual void Update() = 0; // Send update notification. Call after updating images data 
};
Namespace: nitisa::standard
Include: Standard/Components/IImageList.h