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

Method onCellSelected

Engine/source/gui/core/guiArrayCtrl.cpp:134–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132//-----------------------------------------------------------------------------
133
134void GuiArrayCtrl::onCellSelected(Point2I cell)
135{
136 // [rene, 21-Jan-11 ] clashes with callbacks defined in derived classes
137 Con::executef(this, "onSelect", Con::getFloatArg(cell.x), Con::getFloatArg(cell.y));
138
139 onCellSelected_callback( cell );
140
141 //call the console function
142 execConsoleCallback();
143}
144
145//-----------------------------------------------------------------------------
146

Callers

nothing calls this directly

Calls 2

executefFunction · 0.85
getFloatArgFunction · 0.85

Tested by

no test coverage detected