MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / setFont

Method setFont

extlibs/sfe/src/RichText.cpp:26–32  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

24
25 ////////////////////////////////////////////////////////////////////////////////
26 void RichText::Line::setFont(const sf::Font& font)
27 {
28 for (sf::Text& text : m_texts)
29 text.setFont(font);
30
31 updateGeometry();
32 }
33
34
35 ////////////////////////////////////////////////////////////////////////////////

Callers 1

createTextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected