struct ImGuiSelectionBasicStorage

Overview

#include <imgui.h>

struct ImGuiSelectionBasicStorage
{
    // 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);
};

// direct descendants

struct ExampleSelectionWithDeletion;