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

Method addNewControl

Engine/source/gui/editor/guiEditCtrl.cpp:2255–2262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2253//-----------------------------------------------------------------------------
2254
2255void GuiEditCtrl::addNewControl(GuiControl *ctrl)
2256{
2257 getCurrentAddSet()->addObject(ctrl);
2258 select( ctrl );
2259
2260 // undo
2261 onAddNewCtrl_callback( ctrl );
2262}
2263
2264//-----------------------------------------------------------------------------
2265

Callers 1

guiEditCtrl.cppFile · 0.80

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected