MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addNewControl

Method addNewControl

Engine/source/gui/editor/guiEditCtrl.cpp:2268–2275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2266//-----------------------------------------------------------------------------
2267
2268void GuiEditCtrl::addNewControl(GuiControl *ctrl)
2269{
2270 getCurrentAddSet()->addObject(ctrl);
2271 select( ctrl );
2272
2273 // undo
2274 onAddNewCtrl_callback( ctrl );
2275}
2276
2277//-----------------------------------------------------------------------------
2278

Callers 1

guiEditCtrl.cppFile · 0.80

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected