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

Method MultiSelectAddSetAll

include/imgui/imgui_widgets.cpp:8409–8414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8407}
8408
8409void ImGui::MultiSelectAddSetAll(ImGuiMultiSelectTempData* ms, bool selected)
8410{
8411 ImGuiSelectionRequest req = { ImGuiSelectionRequestType_SetAll, selected, 0, ImGuiSelectionUserData_Invalid, ImGuiSelectionUserData_Invalid };
8412 ms->IO.Requests.resize(0); // Can always clear previous requests
8413 ms->IO.Requests.push_back(req); // Add new request
8414}
8415
8416void ImGui::MultiSelectAddSetRange(ImGuiMultiSelectTempData* ms, bool selected, int range_dir, ImGuiSelectionUserData first_item, ImGuiSelectionUserData last_item)
8417{

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected