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

Method create

core/ui/UIScrollViewBar.cpp:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73ScrollViewBar::~ScrollViewBar() {}
74
75ScrollViewBar* ScrollViewBar::create(ScrollView* parent, ScrollView::Direction direction)
76{
77 ScrollViewBar* node = new ScrollViewBar(parent, direction);
78 if (node->init())
79 {
80 node->autorelease();
81 return node;
82 }
83 AX_SAFE_DELETE(node);
84 return nullptr;
85}
86
87bool ScrollViewBar::init()
88{

Callers

nothing calls this directly

Calls 2

autoreleaseMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected