CImageList



Implements image list component.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

// After adding ImageData to this component it should not be changed or destroyed! 
class CImageList :public virtual IImageList, public CComponent
{
public:
    CImageList();
    CImageList(IForm *parent);
    ~CImageList() override;

    int getImageCount() override;
    Bitmap *getImage(const int index) override;
    ITexture *getTexture(const int index) override;

    int AddImage(Bitmap *data) override;
    bool DeleteImage(const int index) override;
    bool DeleteImages() override;
    void Update() override;
};
Namespace: nitisa::standard
Include: Standard/Components/ImageList/ImageList.h