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

Method setExpandedImage

Engine/source/gui/controls/guiTreeViewCtrl.cpp:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

insertItemMethod · 0.80
recurseInsertMethod · 0.80

Calls 2

errorfFunction · 0.85
testMethod · 0.45

Tested by

no test coverage detected