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

Method setUpdateRegion

Engine/source/gui/core/guiControl.cpp:598–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596//-----------------------------------------------------------------------------
597
598void GuiControl::setUpdateRegion(Point2I pos, Point2I ext)
599{
600 Point2I upos = localToGlobalCoord(pos);
601 GuiCanvas *root = getRoot();
602 if (root)
603 {
604 root->addUpdateRegion(upos, ext);
605 }
606}
607
608//-----------------------------------------------------------------------------
609

Callers

nothing calls this directly

Calls 1

addUpdateRegionMethod · 0.80

Tested by

no test coverage detected