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

Method onEnter

tests/cpp-tests/Source/ZipTest/ZipTests.cpp:153–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void UnZipNormalFile::onEnter()
154{
155 TestCase::onEnter();
156
157 const auto winSize = Director::getInstance()->getWinSize();
158
159 Label* label = Label::createWithTTF("unziping file", "fonts/Marker Felt.ttf", 23);
160 label->setPosition(winSize.width / 2, winSize.height / 2);
161 addChild(label);
162
163 unzipTest(label, "zip/10k.txt", "10-nopasswd.zip", "zip/10k-nopass.zip");
164}
165
166std::string UnZipNormalFile::subtitle() const
167{

Callers

nothing calls this directly

Calls 3

getInstanceFunction · 0.85
unzipTestFunction · 0.85
setPositionMethod · 0.45

Tested by

no test coverage detected