MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / scrollVisible

Method scrollVisible

engine/source/gui/guiTreeViewCtrl.cc:682–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680//------------------------------------------------------------------------------
681
682bool GuiTreeViewCtrl::scrollVisible( S32 itemId )
683{
684 Item* item = getItem(itemId);
685 if(item)
686 return scrollVisible(item);
687
688 return false;
689}
690bool GuiTreeViewCtrl::scrollVisible( Item *item )
691{
692 // Now, make sure it's visible (ie, all parents expanded)

Callers 1

guiTreeViewCtrl.ccFile · 0.80

Calls 8

warnfFunction · 0.85
errorfFunction · 0.85
isInspectorDataMethod · 0.80
scrollRectVisibleMethod · 0.80
RectIClass · 0.50
testMethod · 0.45
setExpandedMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected