IPropertyImageListState



Describes multiple state property storing list of images.

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

class IPropertyImageListState :public virtual IPropertyState
{
public:
    virtual int getCount(const String &state) = 0; // Return image count at state
    virtual Bitmap *getImage(const String &state, const int index) = 0; // Return image by index at state

    virtual bool Add(const String &state, Bitmap *data) = 0; // Add image to state
    virtual bool Delete(const String &state, const int index) = 0; // Delete image by index from state
    virtual bool Clear(const String &state) = 0; // Delete all images from state
    virtual void Update() = 0; // Call to update owner after image change
};
Namespace: nitisa
Include: Nitisa/Interfaces/IProperty.h