Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/IGUIObject.h
Show First 20 Lines • Show All 290 Lines • ▼ Show 20 Lines | protected: | ||||
* Returns either IN_PASS or IN_HANDLED. If IN_HANDLED, then | * Returns either IN_PASS or IN_HANDLED. If IN_HANDLED, then | ||||
* the key won't be passed on and processed by other handlers. | * the key won't be passed on and processed by other handlers. | ||||
* This is used for keys that the GUI uses. | * This is used for keys that the GUI uses. | ||||
*/ | */ | ||||
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 StyleName Style by name | |||||
*/ | |||||
void LoadStyle(CGUI& pGUI, const CStr& StyleName); | |||||
/** | |||||
* Loads a style. | |||||
* | |||||
* @param Style The style object. | |||||
*/ | */ | ||||
void LoadStyle(const SGUIStyle& Style); | void LoadStyle(const CStr& StyleName); | ||||
/** | /** | ||||
* Returns not the Z value, but the actual buffered Z value, i.e. if it's | * Returns not the Z value, but the actual buffered Z value, i.e. if it's | ||||
* defined relative, then it will check its parent's Z value and add | * defined relative, then it will check its parent's Z value and add | ||||
* the relativity. | * the relativity. | ||||
* | * | ||||
* @return Actual Z value on the screen. | * @return Actual Z value on the screen. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 209 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator