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

Method GetWindowResizeCornerID

KBotExt/imgui/imgui.cpp:5769–5776  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5767
5768// 0..3: corners (Lower-right, Lower-left, Unused, Unused)
5769ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n)
5770{
5771 IM_ASSERT(n >= 0 && n < 4);
5772 ImGuiID id = window->ID;
5773 id = ImHashStr("#RESIZE", 0, id);
5774 id = ImHashData(&n, sizeof(int), id);
5775 return id;
5776}
5777
5778// Borders (Left, Right, Up, Down)
5779ImGuiID 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