Changeset View
Changeset View
Standalone View
Standalone View
source/gui/IGUIObject.h
Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | protected: | ||||
* what constitutes the GUI's | * what constitutes the GUI's | ||||
*/ | */ | ||||
//-------------------------------------------------------- | //-------------------------------------------------------- | ||||
//@{ | //@{ | ||||
/** | /** | ||||
* Add a setting to m_Settings | * Add a setting to m_Settings | ||||
* | * | ||||
* @param Type Setting type | |||||
* @param Name Setting reference name | * @param Name Setting reference name | ||||
* @param args Arguments forwarded to the constructor of T | |||||
*/ | */ | ||||
template<typename T> void AddSetting(const CStr& Name); | template<typename T, typename... Args> | ||||
void AddSetting(const CStr& Name, Args&& ...args); | |||||
/** | /** | ||||
* Calls Destroy on all children, and deallocates all memory. | * Calls Destroy on all children, and deallocates all memory. | ||||
* MEGA TODO Should it destroy it's children? | * MEGA TODO Should it destroy it's children? | ||||
*/ | */ | ||||
virtual void Destroy(); | virtual void Destroy(); | ||||
public: | public: | ||||
▲ Show 20 Lines • Show All 277 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator