Changeset View
Changeset View
Standalone View
Standalone View
source/gui/ObjectBases/IGUIObject.h
Show All 36 Lines | |||||
class CGUI; | class CGUI; | ||||
class IGUIObject; | class IGUIObject; | ||||
class IGUISetting; | class IGUISetting; | ||||
template <typename T> | template <typename T> | ||||
class JSI_GUIProxy; | class JSI_GUIProxy; | ||||
using map_pObjects = std::map<CStr, IGUIObject*>; | |||||
#define GUI_OBJECT(obj) \ | #define GUI_OBJECT(obj) \ | ||||
public: \ | public: \ | ||||
static IGUIObject* ConstructObject(CGUI& pGUI) \ | static IGUIObject* ConstructObject(CGUI& pGUI) \ | ||||
{ return new obj(pGUI); } | { return new obj(pGUI); } | ||||
/** | /** | ||||
* GUI object such as a button or an input-box. | * GUI object such as a button or an input-box. | ||||
* Abstract data type ! | * Abstract data type ! | ||||
▲ Show 20 Lines • Show All 502 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator