Content


NTL
Core
IPackageForm

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 Image *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/Package/Interfaces/IPackageForm.h