MCPcopy Create free account
hub / github.com/TankOs/SFGUI / GetLoader

Method GetLoader

src/SFGUI/ResourceManager.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19std::shared_ptr<const ResourceLoader> ResourceManager::GetLoader( const std::string& id ) {
20 auto loader_iter = m_loaders.find( id );
21 return loader_iter == m_loaders.end() ? std::shared_ptr<const ResourceLoader>() : loader_iter->second;
22}
23
24std::shared_ptr<const sf::Font> ResourceManager::GetFont( const std::string& path ) {
25 {

Callers

nothing calls this directly

Calls 1

endMethod · 0.80

Tested by

no test coverage detected