Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/IGUIObject.h
Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Lines | protected: | ||||
virtual InReaction ManuallyHandleEvent(const SDL_Event_* UNUSED(ev)) { return IN_PASS; } | virtual InReaction ManuallyHandleEvent(const SDL_Event_* UNUSED(ev)) { return IN_PASS; } | ||||
/** | /** | ||||
* Loads a style. | * Loads a style. | ||||
* | * | ||||
* @param GUIinstance Reference to the GUI | * @param GUIinstance Reference to the GUI | ||||
* @param StyleName Style by name | * @param StyleName Style by name | ||||
*/ | */ | ||||
void LoadStyle(CGUI& GUIinstance, const CStr& StyleName); | void LoadStyle(CGUI& pGUI, const CStr& StyleName); | ||||
/** | /** | ||||
* Loads a style. | * Loads a style. | ||||
* | * | ||||
* @param Style The style object. | * @param Style The style object. | ||||
*/ | */ | ||||
void LoadStyle(const SGUIStyle& Style); | void LoadStyle(const SGUIStyle& Style); | ||||
Show All 39 Lines | protected: | ||||
* will return NULL, so that the top-node's children are | * will return NULL, so that the top-node's children are | ||||
* seemingly parentless. | * seemingly parentless. | ||||
* | * | ||||
* @return Pointer to parent | * @return Pointer to parent | ||||
*/ | */ | ||||
IGUIObject* GetParent() const; | IGUIObject* GetParent() const; | ||||
/** | /** | ||||
* Get Mouse from CGUI. | |||||
*/ | |||||
CPos GetMousePos() const; | |||||
/** | |||||
* Handle additional children to the \<object\>-tag. In IGUIObject, this function does | * Handle additional children to the \<object\>-tag. In IGUIObject, this function does | ||||
* nothing. In CList and CDropDown, it handles the \<item\>, used to build the data. | * nothing. In CList and CDropDown, it handles the \<item\>, used to build the data. | ||||
* | * | ||||
* Returning false means the object doesn't recognize the child. Should be reported. | * Returning false means the object doesn't recognize the child. Should be reported. | ||||
* Notice 'false' is default, because an object not using this function, should not | * Notice 'false' is default, because an object not using this function, should not | ||||
* have any additional children (and this function should never be called). | * have any additional children (and this function should never be called). | ||||
*/ | */ | ||||
virtual bool HandleAdditionalChildren(const XMBElement& UNUSED(child), CXeromyces* UNUSED(pFile)) | virtual bool HandleAdditionalChildren(const XMBElement& UNUSED(child), CXeromyces* UNUSED(pFile)) | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator