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

Method LabelLayoutBaseTest

tests/cpp-tests/Source/LabelTest/LabelTest.cpp:2558–2576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2556}
2557
2558LabelLayoutBaseTest::LabelLayoutBaseTest()
2559{
2560 auto size = Director::getInstance()->getVisibleSize();
2561
2562 this->initTestLabel(size);
2563
2564 this->initFontSizeChange(size);
2565 this->initToggleLabelTypeOption(size);
2566
2567 this->initWrapOption(size);
2568
2569 this->initAlignmentOption(size);
2570
2571 this->initUnderlineStrikethroughOption(size);
2572
2573 this->initDrawNode(size);
2574
2575 this->initSliders(size);
2576}
2577
2578void LabelLayoutBaseTest::initFontSizeChange(const ax::Size& size)
2579{

Callers

nothing calls this directly

Calls 10

initTestLabelMethod · 0.95
initFontSizeChangeMethod · 0.95
initWrapOptionMethod · 0.95
initAlignmentOptionMethod · 0.95
initDrawNodeMethod · 0.95
initSlidersMethod · 0.95
getInstanceFunction · 0.85
getVisibleSizeMethod · 0.45

Tested by

no test coverage detected