MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / Deactivate

Method Deactivate

NetStream/source/menus/menu_generic.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void menu::GenericMenu::Deactivate(bool withDelay)
60{
61 Timer *t = nullptr;
62 m_root->SetActivate(false);
63 if (withDelay)
64 {
65 t = new Timer(200.0f);
66 }
67 m_root->Hide(t);
68}
69
70void menu::GenericMenu::Activate()
71{

Callers 4

PlayerSimpleMethod · 0.80
SetScaleMethod · 0.80
GenericMenuMethod · 0.80
DeactivateAllMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected