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

Method setNormalImage

Engine/source/gui/controls/guiTreeViewCtrl.cpp:273–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

insertItemMethod · 0.80
recurseInsertMethod · 0.80

Calls 2

errorfFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected