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

Method inspectPostApply

Engine/source/gui/core/guiControl.cpp:1223–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221//-----------------------------------------------------------------------------
1222
1223void GuiControl::inspectPostApply()
1224{
1225 // To not require every control to hook onto inspectPostApply to make
1226 // all changed properties take effect, just put controls through a fake
1227 // sleep&wake sequence. This should generally get most property changes
1228 // to show.
1229 //
1230 // Don't do this with the canvas.
1231
1232 if( mAwake && !dynamic_cast< GuiCanvas* >( this ) )
1233 {
1234 bool isContainer = mIsContainer;
1235
1236 onSleep();
1237 onWake();
1238
1239 mIsContainer = isContainer;
1240 }
1241}
1242
1243//=============================================================================
1244// Layout.

Callers 7

sendInspectPostApplyMethod · 0.45
setDataMethod · 0.45
setDataMethod · 0.45
updateShapeMethod · 0.45
undoMethod · 0.45
setAreaMethod · 0.45
undoMethod · 0.45

Calls

no outgoing calls

Tested by 1

sendInspectPostApplyMethod · 0.36