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

Method create

core/ui/UIPageViewIndicator.cpp:51–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49{
50
51PageViewIndicator* PageViewIndicator::create()
52{
53 PageViewIndicator* node = new PageViewIndicator();
54 if (node->init())
55 {
56 node->autorelease();
57 return node;
58 }
59 AX_SAFE_DELETE(node);
60 return nullptr;
61}
62
63PageViewIndicator::PageViewIndicator()
64 : _direction(PageView::Direction::HORIZONTAL)

Callers

nothing calls this directly

Calls 2

autoreleaseMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected