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

Method getGUILangTable

Engine/source/gui/core/guiControl.cpp:2360–2376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2358//-----------------------------------------------------------------------------
2359
2360LangTable * GuiControl::getGUILangTable()
2361{
2362 if(mLangTable)
2363 return mLangTable;
2364
2365 if(mLangTableName && *mLangTableName)
2366 {
2367 mLangTable = (LangTable *)getModLangTable((const UTF8*)mLangTableName);
2368 return mLangTable;
2369 }
2370
2371 GuiControl *parent = getParent();
2372 if(parent)
2373 return parent->getGUILangTable();
2374
2375 return NULL;
2376}
2377
2378//-----------------------------------------------------------------------------
2379

Callers

nothing calls this directly

Calls 1

getModLangTableFunction · 0.85

Tested by

no test coverage detected