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

Method AddFont

src/SFGUI/ResourceManager.cpp:148–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void ResourceManager::AddFont( const std::string& path, std::shared_ptr<const sf::Font> font ) {
149 m_fonts[path] = font;
150}
151
152void ResourceManager::AddImage( const std::string& path, std::shared_ptr<const sf::Image> image ) {
153 m_images[path] = image;

Callers 1

RunMethod · 0.80

Calls

no outgoing calls

Tested by 1

RunMethod · 0.64