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

Method setTextID

Engine/source/gui/buttons/guiButtonBaseCtrl.cpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165//-----------------------------------------------------------------------------
166
167void GuiButtonBaseCtrl::setTextID(const char *id)
168{
169 S32 n = Con::getIntVariable(id, -1);
170 if(n != -1)
171 {
172 mButtonTextID = StringTable->insert(id);
173 setTextID(n);
174 }
175}
176
177//-----------------------------------------------------------------------------
178

Callers 1

Calls 3

getIntVariableFunction · 0.85
setTextFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected