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

Method getIndexPanel

Tools/LayoutEditor/PropertiesPanelView.cpp:209–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 }
208
209 size_t PropertiesPanelView::getIndexPanel(PanelProperties* _panel)
210 {
211 for (size_t index = 0; index < mPanelView->getItemCount(); ++index)
212 {
213 if (mPanelView->getItem(index) == _panel)
214 return index;
215 }
216 return MyGUI::ITEM_NONE;
217 }
218
219}

Callers

nothing calls this directly

Calls 2

getItemMethod · 0.80
getItemCountMethod · 0.45

Tested by

no test coverage detected