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

Method clear

Tools/FontEditor/EditorState.cpp:412–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410 }
411
412 void EditorState::clear()
413 {
414 DataManager::getInstance().clear();
415 ActionManager::getInstance().reset();
416 DataSelectorManager::getInstance().changeParent(DataManager::getInstance().getRoot());
417
418 mFileName = mDefaultFileName;
419 addUserTag("CurrentFileName", mFileName);
420
421 updateCaption();
422 }
423
424 void EditorState::load()
425 {

Callers 5

fillResourcesMethod · 0.45
loadMethod · 0.45
prepareMethod · 0.45
DestroyControlsMethod · 0.45
parseFontMethod · 0.45

Calls 4

addUserTagFunction · 0.85
changeParentMethod · 0.80
resetMethod · 0.45
getRootMethod · 0.45

Tested by

no test coverage detected