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

Method init

core/ui/UIPageViewIndicator.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76PageViewIndicator::~PageViewIndicator() {}
77
78bool PageViewIndicator::init()
79{
80 _currentIndexNode = utils::createSpriteFromBase64Cached(CIRCLE_IMAGE, CIRCLE_IMAGE_KEY);
81 _currentIndexNode->setVisible(false);
82 addProtectedChild(_currentIndexNode, 1);
83 return true;
84}
85
86void PageViewIndicator::setDirection(PageView::Direction direction)
87{

Callers 1

createMethod · 0.45

Calls 2

setVisibleMethod · 0.45

Tested by

no test coverage detected