MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / GetWindowResizeCornerID

Method GetWindowResizeCornerID

imgui_tiny_app/imgui/imgui.cpp:7190–7197  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

7188
7189// 0..3: corners (Lower-right, Lower-left, Unused, Unused)
7190ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n)
7191{
7192 IM_ASSERT(n >= 0 && n < 4);
7193 ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID;
7194 id = ImHashStr("#RESIZE", 0, id);
7195 id = ImHashData(&n, sizeof(int), id);
7196 return id;
7197}
7198
7199// Borders (Left, Right, Up, Down)
7200ImGuiID 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