MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / deinit

Method deinit

src/server/gui/core/Window.cpp:117–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void Window::deinit() {
118 // Hide all GUI elements on uninitialisation - this disable
119 for (auto i = mGuiStack.cbegin(); i != mGuiStack.cend(); i++) {
120 (*i)->onHide();
121 }
122
123 InputManager::getInstance()->deinit();
124 ResourceManager::getInstance()->unloadAll();
125 Renderer::deinit();
126
127 // Set window as not initialised.
128 mInitialized = false;
129}
130
131void Window::textInput(const char* text)
132{

Callers

nothing calls this directly

Calls 3

deinitFunction · 0.85
unloadAllMethod · 0.80
onHideMethod · 0.45

Tested by

no test coverage detected