MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / SetFont

Method SetFont

src/Nazara/Utility/SimpleTextDrawer.cpp:147–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 void SimpleTextDrawer::SetFont(Font* font)
148 {
149 if (m_font != font)
150 {
151 m_font = font;
152
153 if (m_font)
154 ConnectFontSlots();
155 else
156 DisconnectFontSlots();
157
158 m_glyphUpdated = false;
159 }
160 }
161
162 void SimpleTextDrawer::SetStyle(UInt32 style)
163 {

Callers 3

ConsoleMethod · 0.80
SetTextFontMethod · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected