struct ExampleSelectionWithDeletion
Overview
struct ExampleSelectionWithDeletion: public ImGuiSelectionBasicStorage { // methods int ApplyDeletionPreLoop( ImGuiMultiSelectIO* ms_io, int items_count ); template <typename ITEM_TYPE> void ApplyDeletionPostLoop( ImGuiMultiSelectIO* ms_io, ImVector<ITEM_TYPE>& items, int item_curr_idx_to_select ); };
Inherited Members
public: // fields int Size; bool PreserveOrder; void* UserData; ImGuiID(* AdapterIndexToStorageId)(ImGuiSelectionBasicStorage *self, int idx); int _SelectionOrder; ImGuiStorage _Storage; // methods IMGUI_API void ApplyRequests(ImGuiMultiSelectIO* ms_io); IMGUI_API bool Contains(ImGuiID id) const; IMGUI_API void Clear(); IMGUI_API void Swap(ImGuiSelectionBasicStorage& r); IMGUI_API void SetItemSelected(ImGuiID id, bool selected); IMGUI_API bool GetNextSelectedItem(void** opaque_it, ImGuiID* out_id); ImGuiID GetStorageIdFromIndex(int idx);