MCPcopy Create free account
hub / github.com/MyGUI/mygui / notifyListChangePosition

Method notifyListChangePosition

MyGUIEngine/src/MyGUI_MultiListBox.cpp:224–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 }
223
224 void MultiListBox::notifyListChangePosition(ListBox* _sender, size_t _position)
225 {
226 for (auto& iter : mVectorColumnInfo)
227 {
228 if (_sender != iter.list)
229 iter.list->setIndexSelected(_position);
230 }
231
232 updateBackSelected(_position);
233
234 mItemSelected = BiIndexBase::convertToFace(_position);
235
236 // наш евент
237 eventListChangePosition(this, mItemSelected);
238 }
239
240 void MultiListBox::notifyListSelectAccept(ListBox* _sender, size_t _position)
241 {

Callers

nothing calls this directly

Calls 1

setIndexSelectedMethod · 0.45

Tested by

no test coverage detected