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

Method clone

core/ui/UIWidget.cpp:1268–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267
1268Widget* Widget::clone()
1269{
1270 Widget* clonedWidget = createCloneInstance();
1271 clonedWidget->copyProperties(this);
1272 clonedWidget->copyClonedWidgetChildren(this);
1273 return clonedWidget;
1274}
1275
1276Widget* Widget::createCloneInstance()
1277{

Callers 5

copyPropertiesMethod · 0.45
pushBackDefaultItemMethod · 0.45
insertDefaultItemMethod · 0.45

Calls 2

copyPropertiesMethod · 0.45

Tested by

no test coverage detected