| 851 | } |
| 852 | |
| 853 | size_t ListBox::findItemIndexWith(const UString& _name) |
| 854 | { |
| 855 | for (size_t pos = 0; pos < mItemsInfo.size(); pos++) |
| 856 | { |
| 857 | if (mItemsInfo[pos].first == _name) |
| 858 | return pos; |
| 859 | } |
| 860 | return ITEM_NONE; |
| 861 | } |
| 862 | |
| 863 | int ListBox::getOptimalHeight() const |
| 864 | { |
no test coverage detected