MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / MultiSelectAddSetAll

Method MultiSelectAddSetAll

include/imgui/imgui_widgets.cpp:8530–8535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8528}
8529
8530void ImGui::MultiSelectAddSetAll(ImGuiMultiSelectTempData* ms, bool selected)
8531{
8532 ImGuiSelectionRequest req = { ImGuiSelectionRequestType_SetAll, selected, 0, ImGuiSelectionUserData_Invalid, ImGuiSelectionUserData_Invalid };
8533 ms->IO.Requests.resize(0); // Can always clear previous requests
8534 ms->IO.Requests.push_back(req); // Add new request
8535}
8536
8537void ImGui::MultiSelectAddSetRange(ImGuiMultiSelectTempData* ms, bool selected, int range_dir, ImGuiSelectionUserData first_item, ImGuiSelectionUserData last_item)
8538{

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected