Changeset View
Changeset View
Standalone View
Standalone View
source/gui/GUIManager.h
Show First 20 Lines • Show All 155 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; | ||||
using PageStackType = std::vector<SGUIPage>; | using PageStackType = std::vector<SGUIPage>; | ||||
PageStackType m_PageStack; | PageStackType m_PageStack; | ||||
Show All 9 Lines |
Wildfire Games · Phabricator