MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / GetWindowResizeCornerID

Method GetWindowResizeCornerID

extern/imgui/imgui.cpp:6243–6250  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

6241
6242// 0..3: corners (Lower-right, Lower-left, Unused, Unused)
6243ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n)
6244{
6245 IM_ASSERT(n >= 0 && n < 4);
6246 ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID;
6247 id = ImHashStr("#RESIZE", 0, id);
6248 id = ImHashData(&n, sizeof(int), id);
6249 return id;
6250}
6251
6252// Borders (Left, Right, Up, Down)
6253ImGuiID 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