MCPcopy Create free account
hub / github.com/crossuo/crossuo / Create

Method Create

src/GUI/GUIHTMLText.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void CGUIHTMLText::Create(bool backgroundCanBeColored)
36{
37 g_FontManager.SetUseHTML(true, HTMLStartColor, backgroundCanBeColored);
38 g_FontManager.GenerateW(Font, m_Sprite, Text, Color, 30, Width, Align, TextFlags);
39 g_FontManager.SetUseHTML(false);
40}
41
42void CGUIHTMLText::Draw(bool checktrans)
43{

Callers 6

QFORFunction · 0.45
ApplyPageChangesMethod · 0.45
CGumpPropertyMethod · 0.45
CGumpPropertyIconMethod · 0.45
SetTextWMethod · 0.45
QFORFunction · 0.45

Calls 2

SetUseHTMLMethod · 0.80
GenerateWMethod · 0.80

Tested by

no test coverage detected