MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / SetWindowHitTestHole

Method SetWindowHitTestHole

KBotExt/imgui/imgui.cpp:7470–7475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7468}
7469
7470void ImGui::SetWindowHitTestHole(ImGuiWindow* window, const ImVec2& pos, const ImVec2& size)
7471{
7472 IM_ASSERT(window->HitTestHoleSize.x == 0); // We don't support multiple holes/hit test filters
7473 window->HitTestHoleSize = ImVec2ih(size);
7474 window->HitTestHoleOffset = ImVec2ih(pos - window->Pos);
7475}
7476
7477void ImGui::SetWindowHiddendAndSkipItemsForCurrentFrame(ImGuiWindow* window)
7478{

Callers

nothing calls this directly

Calls 1

ImVec2ihClass · 0.85

Tested by

no test coverage detected