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

Method setTextID

Engine/source/gui/controls/guiTextCtrl.cpp:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void GuiTextCtrl::setTextID(const char *id)
205{
206 S32 n = Con::getIntVariable(id, -1);
207 if(n != -1)
208 {
209 mInitialTextID = StringTable->insert(id);
210 setTextID(n);
211 }
212}
213void GuiTextCtrl::setTextID(S32 id)
214{
215 const UTF8 *str = getGUIString(id);

Callers 1

guiTextCtrl.cppFile · 0.45

Calls 3

getIntVariableFunction · 0.85
setTextFunction · 0.70
insertMethod · 0.45

Tested by

no test coverage detected