MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / GetWindowResizeCornerID

Method GetWindowResizeCornerID

core/src/imgui/imgui.cpp:5346–5353  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5344
5345// 0..3: corners (Lower-right, Lower-left, Unused, Unused)
5346ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n)
5347{
5348 IM_ASSERT(n >= 0 && n < 4);
5349 ImGuiID id = window->ID;
5350 id = ImHashStr("#RESIZE", 0, id);
5351 id = ImHashData(&n, sizeof(int), id);
5352 return id;
5353}
5354
5355// Borders (Left, Right, Up, Down)
5356ImGuiID 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