Describes a custom control.
More...
#include <GUIFactory.h>
|
| | ControlDescriptor (eC_Int iID, const char *rkClassName, ControlCreateCallback pkCreate) |
| |
|
|
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.
|
| |
Describes a custom control.
◆ ControlDescriptor()
| ControlDescriptor::ControlDescriptor |
( |
eC_Int |
iID, |
|
|
const char * |
rkClassName, |
|
|
ControlCreateCallback |
pkCreate |
|
) |
| |
|
inline |
Constructs a control descriptor.
- Parameters
-
| iID | The unique class ID of the control. |
| rkClassName | Human-readable name of the control. For instance, for the control class CGUIButton, this could simply be 'button'. |
| pkCreate | Pointer to an instance of the custom control. |
The documentation for this struct was generated from the following file: