MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / GetWindowResizeCornerID

Method GetWindowResizeCornerID

Dependencies/ImGui/src/imgui.cpp:6802–6809  ·  view source on GitHub ↗

0..3: corners (Lower-right, Lower-left, Unused, Unused)

Source from the content-addressed store, hash-verified

6800
6801// 0..3: corners (Lower-right, Lower-left, Unused, Unused)
6802ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n)
6803{
6804 IM_ASSERT(n >= 0 && n < 4);
6805 ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID;
6806 id = ImHashStr("#RESIZE", 0, id);
6807 id = ImHashData(&n, sizeof(int), id);
6808 return id;
6809}
6810
6811// Borders (Left, Right, Up, Down)
6812ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir)

Callers

nothing calls this directly

Calls 2

ImHashStrFunction · 0.85
ImHashDataFunction · 0.85

Tested by

no test coverage detected