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

Method GetWindowResizeCornerID

Dependencies/ImGui/src/imgui.cpp:7180–7187  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

7178
7179// 0..3: corners (Lower-right, Lower-left, Unused, Unused)
7180ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n)
7181{
7182 IM_ASSERT(n >= 0 && n < 4);
7183 ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID;
7184 id = ImHashStr("#RESIZE", 0, id);
7185 id = ImHashData(&n, sizeof(int), id);
7186 return id;
7187}
7188
7189// Borders (Left, Right, Up, Down)
7190ImGuiID 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