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

Method clearTextStyle

source/rendering/StarTextPainter.cpp:308–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308void TextPainter::clearTextStyle() {
309 m_renderSettings = m_defaultRenderSettings;
310 m_fontTextureGroup.switchFont(m_renderSettings.font);
311}
312
313void TextPainter::addFont(FontPtr const& font, String const& name) {
314 m_fontTextureGroup.addFont(font, name);

Callers

nothing calls this directly

Calls 1

switchFontMethod · 0.80

Tested by

no test coverage detected