struct ExampleDualListBox

Overview

struct ExampleDualListBox
{
    // fields

    ImVector<ImGuiID> Items[2];
    ImGuiSelectionBasicStorage Selections[2];
    bool OptKeepSorted = true;

    // methods

    void MoveAll(
        int src,
        int dst
        );

    void MoveSelected(
        int src,
        int dst
        );

    void ApplySelectionRequests(
        ImGuiMultiSelectIO* ms_io,
        int side
        );

    void SortItems(int n);
    void Show();

    static int IMGUI_CDECL CompareItemsByValue(
        const void* lhs,
        const void* rhs
        );
};