class XGViewFactory

Declared in <XView.h>

View factory class; this contains the code to search the list of views to construct the correct one


View location

XGViewFactory::CreateFromData
XGViewFactory::CreateFromResource
XGViewFactory::Register


View location

XGViewFactory::CreateFromData

Usage: XGView*XGViewFactory::CreateFromData(const unsigned char*data,XGOwner*parent)

Given the data, this scans and creates the view

XGViewFactory::CreateFromResource

Usage: XGView*XGViewFactory::CreateFromResource(short resID,XGOwner*parent)

This creates the specified view from the resource identifier provided.

XGViewFactory::Register

Usage: void XGViewFactory::Register(long id,XGConstructorProc*proc)

register with me the construction proc