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

Method AddImage

src/SFGUI/ResourceManager.cpp:152–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void ResourceManager::AddImage( const std::string& path, std::shared_ptr<const sf::Image> image ) {
153 m_images[path] = image;
154}
155
156void ResourceManager::SetDefaultFont( std::shared_ptr<const sf::Font> font ) {
157 AddFont( "Default", font );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected