IPackageForm



Describes form. Used in packages and Form Builder.

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

class IPackageForm :public virtual IPackageEntity
{
public:
    virtual const Bitmap *getIcon() = 0; // Return icon. Could be nullptr
    virtual IForm *getInstance() = 0; // Return corresponding form instance if form has already been created

    virtual IForm *Create(IWindow *window, IRenderer *renderer) = 0; // Create new instance of the corresponding form with specified window and renderer
    virtual IPropertyList *CreatePropertyList(IForm *form) = 0; // Create property list for specified form
    virtual IEventList *CreateEventList(IForm *form) = 0; // Create event list for specified form
};
Namespace: nitisa
Include: Nitisa/Interfaces/IPackageForm.h