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

Method setNormalImage

Engine/source/gui/controls/guiTreeViewCtrl.cpp:276–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274//-----------------------------------------------------------------------------
275
276void GuiTreeViewCtrl::Item::setNormalImage(S8 id)
277{
278 if(mState.test(InspectorData))
279 {
280 Con::errorf("Tried to set normal image %d for item %d, which is InspectorData!", id, mId);
281 return;
282 }
283
284 mScriptInfo.mNormalImage = id;
285}
286
287//-----------------------------------------------------------------------------
288

Callers 3

insertItemMethod · 0.80
recurseInsertMethod · 0.80

Calls 2

errorfFunction · 0.85
testMethod · 0.45

Tested by

no test coverage detected