| 124 | } |
| 125 | |
| 126 | DataPtr Data::getChildByIndex(size_t _index) |
| 127 | { |
| 128 | MYGUI_ASSERT_RANGE_AND_NONE(_index, mChilds.size(), "Data::getChildSelected"); |
| 129 | |
| 130 | if (_index == MyGUI::ITEM_NONE) |
| 131 | return nullptr; |
| 132 | return mChilds[_index]; |
| 133 | } |
| 134 | |
| 135 | DataPtr Data::getChildSelected() |
| 136 | { |
no test coverage detected