MCPcopy Create free account
hub / github.com/cinder/Cinder / GetWindowResizeCornerID

Method GetWindowResizeCornerID

src/imgui/imgui.cpp:6708–6715  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

6706
6707// 0..3: corners (Lower-right, Lower-left, Unused, Unused)
6708ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n)
6709{
6710 IM_ASSERT(n >= 0 && n < 4);
6711 ImGuiID id = window->ID;
6712 id = ImHashStr("#RESIZE", 0, id);
6713 id = ImHashData(&n, sizeof(int), id);
6714 return id;
6715}
6716
6717// Borders (Left, Right, Up, Down)
6718ImGuiID 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