| 1895 | |
| 1896 | template<typename T> |
| 1897 | void ClearObjectSelection( |
| 1898 | const ImObjectPool<T>& objects, |
| 1899 | ImVector<int>& selected_indices, |
| 1900 | const int id) |
| 1901 | { |
| 1902 | const int idx = ObjectPoolFind(objects, id); |
| 1903 | assert(idx >= 0); |
| 1904 | assert(selected_indices.find(idx) != selected_indices.end()); |
| 1905 | selected_indices.find_erase_unsorted(idx); |
| 1906 | } |
| 1907 | |
| 1908 | template<typename T> |
| 1909 | bool IsObjectSelected(const ImObjectPool<T>& objects, ImVector<int>& selected_indices, const int id) |
no test coverage detected