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

Method onPreRender

Engine/source/gui/controls/guiTextCtrl.cpp:221–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void GuiTextCtrl::onPreRender()
222{
223 Parent::onPreRender();
224
225 const char * var = getVariable();
226 if(var && var[0] && dStricmp((char*)mText, var))
227 setText(var);
228}
229
230void GuiTextCtrl::onRender(Point2I offset, const RectI &updateRect)
231{

Callers

nothing calls this directly

Calls 3

getVariableFunction · 0.85
dStricmpFunction · 0.85
setTextFunction · 0.70

Tested by

no test coverage detected