MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ImGuiSelectionBasicStorage_BatchFinish

Function ImGuiSelectionBasicStorage_BatchFinish

3rdparty/imgui/src/imgui_widgets.cpp:8663–8668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8661}
8662
8663static void ImGuiSelectionBasicStorage_BatchFinish(ImGuiSelectionBasicStorage* selection, bool selected, int size_before_amends)
8664{
8665 ImGuiStorage* storage = &selection->_Storage;
8666 if (selected && selection->Size != size_before_amends)
8667 storage->BuildSortByKey(); // When done selecting: sort everything
8668}
8669
8670// Apply requests coming from BeginMultiSelect() and EndMultiSelect().
8671// - Enable 'Demo->Tools->Debug Log->Selection' to see selection requests as they happen.

Callers 1

ApplyRequestsMethod · 0.85

Calls 1

BuildSortByKeyMethod · 0.80

Tested by

no test coverage detected