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

Method getExpandedImage

Engine/source/gui/controls/guiTreeViewCtrl.cpp:349–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347//-----------------------------------------------------------------------------
348
349S8 GuiTreeViewCtrl::Item::getExpandedImage() const
350{
351 if(mState.test(InspectorData))
352 {
353 Con::errorf("Tried to get the expanded image for item %d, which is InspectorData!", mId);
354 return 0; // fail safe for width determinations
355 }
356
357 return mScriptInfo.mExpandedImage;
358}
359
360//-----------------------------------------------------------------------------
361

Callers 2

_buildItemMethod · 0.80
_hitTestMethod · 0.80

Calls 2

errorfFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected