MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / clearFonts

Method clearFonts

source/rendering/StarFontTextureGroup.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void FontTextureGroup::clearFonts() {
37 m_fonts.clear();
38 m_activeFont = m_defaultFont;
39}
40
41void FontTextureGroup::setFixedFonts(String const& defaultFontName, String const& fallbackFontName, String const& emojiFontName) {
42 if (auto defaultFont = m_fonts.ptr(defaultFontName))

Callers 1

reloadFontsMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected