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

Method getNormalImage

Engine/source/gui/controls/guiTreeViewCtrl.cpp:336–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334//-----------------------------------------------------------------------------
335
336S8 GuiTreeViewCtrl::Item::getNormalImage() const
337{
338 if(mState.test(InspectorData))
339 {
340 Con::errorf("Tried to get the normal image for item %d, which is InspectorData!", mId);
341 return 0; // fail safe for width determinations
342 }
343
344 return mScriptInfo.mNormalImage;
345}
346
347//-----------------------------------------------------------------------------
348

Callers 2

_buildItemMethod · 0.80
_hitTestMethod · 0.80

Calls 2

errorfFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected