MCPcopy Create free account
hub / github.com/cinder/Cinder / DebugLogMultiSelectRequests

Function DebugLogMultiSelectRequests

src/imgui/imgui_widgets.cpp:7787–7796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7785//-------------------------------------------------------------------------
7786
7787static void DebugLogMultiSelectRequests(const char* function, const ImGuiMultiSelectIO* io)
7788{
7789 ImGuiContext& g = *GImGui;
7790 IM_UNUSED(function);
7791 for (const ImGuiSelectionRequest& req : io->Requests)
7792 {
7793 if (req.Type == ImGuiSelectionRequestType_SetAll) IMGUI_DEBUG_LOG_SELECTION("[selection] %s: Request: SetAll %d (= %s)\n", function, req.Selected, req.Selected ? "SelectAll" : "Clear");
7794 if (req.Type == ImGuiSelectionRequestType_SetRange) IMGUI_DEBUG_LOG_SELECTION("[selection] %s: Request: SetRange %" IM_PRId64 "..%" IM_PRId64 " (0x%" IM_PRIX64 "..0x%" IM_PRIX64 ") = %d (dir %d)\n", function, req.RangeFirstItem, req.RangeLastItem, req.RangeFirstItem, req.RangeLastItem, req.Selected, req.RangeDirection);
7795 }
7796}
7797
7798static ImRect CalcScopeRect(ImGuiMultiSelectTempData* ms, ImGuiWindow* window)
7799{

Callers 2

BeginMultiSelectMethod · 0.85
EndMultiSelectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected