| 90 | } |
| 91 | |
| 92 | void InsertItem() |
| 93 | { |
| 94 | size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); |
| 95 | size_t item = (size_t)rand(); |
| 96 | |
| 97 | mirror_list->insertItemAt(index, MyGUI::utility::toString(item), item); |
| 98 | original_list->insertItemAt(index, MyGUI::utility::toString(item), item); |
| 99 | |
| 100 | count_items++; |
| 101 | |
| 102 | checkList(); |
| 103 | } |
| 104 | |
| 105 | void InsertItem(size_t _count) |
| 106 | { |
nothing calls this directly
no test coverage detected