| 2650 | Selections[src].Clear(); |
| 2651 | } |
| 2652 | void ApplySelectionRequests(ImGuiMultiSelectIO* ms_io, int side) |
| 2653 | { |
| 2654 | // In this example we store item id in selection (instead of item index) |
| 2655 | Selections[side].UserData = Items[side].Data; |
| 2656 | Selections[side].AdapterIndexToStorageId = [](ImGuiSelectionBasicStorage* self, int idx) { ImGuiID* items = (ImGuiID*)self->UserData; return items[idx]; }; |
| 2657 | Selections[side].ApplyRequests(ms_io); |
| 2658 | } |
| 2659 | static int IMGUI_CDECL CompareItemsByValue(const void* lhs, const void* rhs) |
| 2660 | { |
| 2661 | const int* a = (const int*)lhs; |
nothing calls this directly
no test coverage detected