MCPcopy Create free account
hub / github.com/axmolengine/axmol / init

Method init

core/ui/UIText.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67bool Text::init()
68{
69 if (Widget::init())
70 {
71 return true;
72 }
73 return false;
74}
75
76Text* Text::create(std::string_view textContent, std::string_view fontName, float fontSize)
77{

Callers 1

createMethod · 0.45

Calls 4

setFontNameMethod · 0.95
setFontSizeMethod · 0.95
setStringMethod · 0.95
initFunction · 0.50

Tested by

no test coverage detected