Changeset View
Changeset View
Standalone View
Standalone View
source/gui/GUIManager.h
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | struct SGUIPage | ||||
/** | /** | ||||
* Function executed by this parent GUI page when the child GUI page it pushed is popped. | * Function executed by this parent GUI page when the child GUI page it pushed is popped. | ||||
* Notice that storing it in the SGUIPage instead of CGUI means that it will survive the hotloading CGUI reset. | * Notice that storing it in the SGUIPage instead of CGUI means that it will survive the hotloading CGUI reset. | ||||
*/ | */ | ||||
std::shared_ptr<JS::PersistentRootedValue> callbackFunction; | std::shared_ptr<JS::PersistentRootedValue> callbackFunction; | ||||
}; | }; | ||||
const static CStr EventNameWindowResized; | const static CStr EventNameWindowResized; | ||||
const static CStr EventNamePageRegainedFocus; | |||||
std::shared_ptr<CGUI> top() const; | std::shared_ptr<CGUI> top() const; | ||||
std::shared_ptr<ScriptContext> m_ScriptContext; | std::shared_ptr<ScriptContext> m_ScriptContext; | ||||
std::shared_ptr<ScriptInterface> m_ScriptInterface; | std::shared_ptr<ScriptInterface> m_ScriptInterface; | ||||
/** | /** | ||||
* The page stack must not move pointers on push/pop, or pushing a page in a page's init method | * The page stack must not move pointers on push/pop, or pushing a page in a page's init method | ||||
Show All 14 Lines |
Wildfire Games · Phabricator