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

Method loadSettings

Tools/LayoutEditor/SettingsResourcesControl.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void SettingsResourcesControl::loadSettings()
46 {
47 mResources->removeAllItems();
48 SettingsManager::VectorString paths =
49 SettingsManager::getInstance().getValueList("Resources/AdditionalResource.List");
50 for (const auto& path : paths)
51 mResources->addItem(path);
52 }
53
54 void SettingsResourcesControl::saveSettings()
55 {

Callers

nothing calls this directly

Calls 3

getValueListMethod · 0.80
removeAllItemsMethod · 0.45
addItemMethod · 0.45

Tested by

no test coverage detected