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

Method setExpandedImage

Engine/source/gui/controls/guiTreeViewCtrl.cpp:286–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284//-----------------------------------------------------------------------------
285
286void GuiTreeViewCtrl::Item::setExpandedImage(S8 id)
287{
288 if(mState.test(InspectorData))
289 {
290 Con::errorf("Tried to set expanded image %d for item %d, which is InspectorData!", id, mId);
291 return;
292 }
293
294 mScriptInfo.mExpandedImage = id;
295}
296
297//-----------------------------------------------------------------------------
298

Callers 3

insertItemMethod · 0.80
recurseInsertMethod · 0.80

Calls 2

errorfFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected