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

Method updateBackSelected

MyGUIEngine/src/MyGUI_MultiListBox.cpp:143–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 void MultiListBox::updateBackSelected(size_t _index)
144 {
145 if (_index == ITEM_NONE)
146 {
147 for (auto& iter : mVectorColumnInfo)
148 {
149 iter.list->clearIndexSelected();
150 }
151 }
152 else
153 {
154 for (auto& iter : mVectorColumnInfo)
155 {
156 iter.list->setIndexSelected(_index);
157 }
158 }
159 }
160
161 void MultiListBox::setIndexSelected(size_t _index)
162 {

Callers

nothing calls this directly

Calls 2

clearIndexSelectedMethod · 0.45
setIndexSelectedMethod · 0.45

Tested by

no test coverage detected