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

Method getItem

Common/PanelView/BasePanelView.h:84–88  ·  view source on GitHub ↗

Get item from specified position

Source from the content-addressed store, hash-verified

82
83 //! Get item from specified position
84 BasePanelViewItem* getItem(size_t _index)
85 {
86 MYGUI_ASSERT_RANGE(_index, mItems.size(), "BasePanelView::getItem");
87 return mItems[_index];
88 }
89
90 //! Search item, returns the position of the first occurrence in list or ITEM_NONE if item not found
91 size_t findItem(BasePanelViewItem* _item)

Callers 1

getIndexPanelMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected