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

Method initWithSize

core/ui/UIHBox.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool HBox::initWithSize(const Vec2& size)
73{
74 if (init())
75 {
76 setContentSize(size);
77 return true;
78 }
79 return false;
80}
81
82} // namespace ui
83

Callers 1

createMethod · 0.45

Calls 1

initFunction · 0.50

Tested by

no test coverage detected