hgeGUIObject Constructor

To create custom GUI control you must define at least Constructor and Render methods. The constructor must initialize the following hgeGUIObject data members: id, bStatic, bVisible, bEnabled, rect. See hgeGUIObject data members for details.

Use the following C++ syntax to define a class derived from hgeGUIObject:

class hgeCustomGUIControl : public hgeGUIObject
{
	hgeCustomGUIControl(...);
};

Requirements

Header: hgegui.h