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

Method fillResources

Tools/FontEditor/PropertyFontSourceControl.cpp:100–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99
100 void PropertyFontSourceControl::fillResources()
101 {
102 mResources.clear();
103
104 std::set<std::string> allFilenames;
105
106 for (const auto& fileType : fileTypes)
107 {
108 const MyGUI::VectorString& filenames = MyGUI::DataManager::getInstance().getDataListNames(fileType);
109 allFilenames.insert(filenames.begin(), filenames.end());
110 }
111
112 for (const auto& fileName : allFilenames)
113 mResources.push_back(fileName);
114 }
115
116}

Callers

nothing calls this directly

Calls 5

clearMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected