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

Method clear

Tools/LayoutEditor/EditorState.cpp:290–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 void EditorState::clear()
291 {
292 WidgetCreatorManager::getInstance().resetCreatorInfo();
293 EditorWidgets::getInstance().clear();
294
295 WidgetSelectorManager::getInstance().setSelectedWidget(nullptr);
296
297 UndoManager::getInstance().shutdown();
298 UndoManager::getInstance().initialise(EditorWidgets::getInstancePtr());
299
300 setFileName(mDefaultFileName);
301
302 updateCaption();
303 }
304
305 void EditorState::load()
306 {

Callers 15

~WidgetsWindowMethod · 0.45
setTextureNameMethod · 0.45
undoMethod · 0.45
redoMethod · 0.45
showMessagesMethod · 0.45
notifyApplyPropertiesMethod · 0.45
notifyApplyPropertiesMethod · 0.45
destroyPropertyFieldsMethod · 0.45
notifyActionSkinMethod · 0.45
notifyActionTypeMethod · 0.45
notifyActionTemplateMethod · 0.45

Calls 5

getInstancePtrFunction · 0.85
resetCreatorInfoMethod · 0.80
setSelectedWidgetMethod · 0.80
shutdownMethod · 0.45
initialiseMethod · 0.45

Tested by 2

initStateMethod · 0.36
cleanupStateMethod · 0.36