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

Method create

core/ui/UITabControl.cpp:363–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363TabControl* TabControl::create()
364{
365 TabControl* tabview = new TabControl();
366 if (tabview->init())
367 {
368 tabview->autorelease();
369 return tabview;
370 }
371 AX_SAFE_DELETE(tabview);
372 return nullptr;
373}
374
375void TabControl::setSelectTab(int index)
376{

Callers

nothing calls this directly

Calls 5

autoreleaseMethod · 0.80
Vec2Function · 0.50
initMethod · 0.45
setVisibleMethod · 0.45
setStringMethod · 0.45

Tested by

no test coverage detected