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

Method sortNumerical

Engine/source/gui/controls/guiTextListCtrl.cpp:399–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399void GuiTextListCtrl::sortNumerical( U32 column, bool increasing )
400{
401 if ( getNumEntries() < 2 )
402 return;
403
404 sortColumn = column;
405 sIncreasing = increasing;
406 dQsort( (void*) &( mList[0] ), mList.size(), sizeof( Entry ), numCompare );
407}
408
409void GuiTextListCtrl::onRemove()
410{

Callers 1

Calls 3

dQsortFunction · 0.85
getNumEntriesFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected