struct CCL::IForm

Overview

Skin-based view class. More…

#include <iform.h>

struct IForm: public CCL::IUnknown
{
    // methods

    virtual StringID CCL_API getFormName () const = 0;
    virtual StyleRef CCL_API getWindowStyle () const = 0;
    virtual void CCL_API setWindowStyle (StyleRef style) = 0;
    virtual IUnknown*CCL_API getController () const = 0;
    virtual tbool CCL_API setController (IUnknown* controller) = 0;
    virtual IWindow*CCL_API openWindow (IWindow* parentWindow = nullptr) = 0;
    virtual void CCL_API closeWindow () = 0;
    virtual void CCL_API reload () = 0;
    virtual ISkinElement*CCL_API getISkinElement () const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Skin-based view class.

Methods

virtual StringID CCL_API getFormName () const = 0

Get form name (from skin description).

virtual StyleRef CCL_API getWindowStyle () const = 0

Get window style.

virtual void CCL_API setWindowStyle (StyleRef style) = 0

Set window style.

virtual IUnknown*CCL_API getController () const = 0

Get associated controller.

virtual tbool CCL_API setController (IUnknown* controller) = 0

Set controller.

virtual IWindow*CCL_API openWindow (IWindow* parentWindow = nullptr) = 0

Open window.

virtual void CCL_API closeWindow () = 0

Close window.

virtual void CCL_API reload () = 0

Reload view content.

virtual ISkinElement*CCL_API getISkinElement () const = 0

Get associated skin element.