Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
72
bool 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
create
Method · 0.45
Calls
1
init
Function · 0.50
Tested by
no test coverage detected