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

Method SetWindowHitTestHole

include/imgui/imgui.cpp:8628–8633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8626}
8627
8628void ImGui::SetWindowHitTestHole(ImGuiWindow* window, const ImVec2& pos, const ImVec2& size)
8629{
8630 IM_ASSERT(window->HitTestHoleSize.x == 0); // We don't support multiple holes/hit test filters
8631 window->HitTestHoleSize = ImVec2ih(size);
8632 window->HitTestHoleOffset = ImVec2ih(pos - window->Pos);
8633}
8634
8635void ImGui::SetWindowHiddenAndSkipItemsForCurrentFrame(ImGuiWindow* window)
8636{

Callers

nothing calls this directly

Calls 1

ImVec2ihClass · 0.85

Tested by

no test coverage detected