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

Method create

core/ui/UITextAtlas.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50TextAtlas::~TextAtlas() {}
51
52TextAtlas* TextAtlas::create()
53{
54 TextAtlas* widget = new TextAtlas();
55 if (widget->init())
56 {
57 widget->autorelease();
58 return widget;
59 }
60 AX_SAFE_DELETE(widget);
61 return nullptr;
62}
63
64void TextAtlas::initRenderer()
65{

Callers

nothing calls this directly

Calls 3

autoreleaseMethod · 0.80
setPropertyMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected