MCPcopy Create free account
hub / github.com/MyGUI/mygui / cleanupState

Method cleanupState

Tools/LayoutEditor/TestState.cpp:45–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void TestState::cleanupState()
46 {
47 EditorWidgets::getInstance().clear();
48 EditorWidgets::getInstance().loadxmlDocument(mTestLayout, false);
49
50 deleteTestLayout();
51
52 WidgetSelectorManager::getInstance().restoreSelectedWidget();
53
54 delete mBackgroundControl;
55 mBackgroundControl = nullptr;
56 }
57
58 void TestState::pauseState()
59 {

Callers

nothing calls this directly

Calls 3

loadxmlDocumentMethod · 0.80
restoreSelectedWidgetMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected