Guiliani  Version 2.6 revision 7293 (documentation build 12)
ControlDescriptor Struct Reference

Describes a custom control. More...

#include <GUIFactory.h>

Public Member Functions

 ControlDescriptor (eC_Int iID, const char *rkClassName, ControlCreateCallback pkCreate)
 

Public Attributes

eC_Int m_iID
 The control class ID.
 
const char * m_kClassName
 Human-readable name of the control.
 
ControlCreateCallback m_pkCreate
 Pointer to an instance of the control.
 

Detailed Description

Describes a custom control.

Constructor & Destructor Documentation

◆ ControlDescriptor()

ControlDescriptor::ControlDescriptor ( eC_Int  iID,
const char *  rkClassName,
ControlCreateCallback  pkCreate 
)
inline

Constructs a control descriptor.

Parameters
iIDThe unique class ID of the control.
rkClassNameHuman-readable name of the control. For instance, for the control class CGUIButton, this could simply be 'button'.
pkCreatePointer to an instance of the custom control.

The documentation for this struct was generated from the following file: