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

Method onRender

Engine/source/gui/controls/guiTextCtrl.cpp:229–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void GuiTextCtrl::onRender(Point2I offset, const RectI &updateRect)
230{
231 renderBorder( RectI( offset, getExtent() ), mProfile );
232
233 GFX->getDrawUtil()->setBitmapModulation( mProfile->mFontColor );
234 renderJustifiedText(offset, getExtent(), (char*)mText);
235
236 //render the child controls
237 renderChildControls(offset, updateRect);
238}
239
240const char *GuiTextCtrl::getScriptValue()
241{

Callers

nothing calls this directly

Calls 4

renderBorderFunction · 0.85
setBitmapModulationMethod · 0.80
getDrawUtilMethod · 0.80
RectIClass · 0.50

Tested by

no test coverage detected