MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / GetWindowResizeBorderID

Method GetWindowResizeBorderID

Source/3rdParty/imgui/imgui.cpp:6899–6907  ·  view source on GitHub ↗

Borders (Left, Right, Up, Down)

Source from the content-addressed store, hash-verified

6897
6898// Borders (Left, Right, Up, Down)
6899ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir)
6900{
6901 IM_ASSERT(dir >= 0 && dir < 4);
6902 int n = (int)dir + 4;
6903 ImGuiID id = window->ID;
6904 id = ImHashStr("#RESIZE", 0, id);
6905 id = ImHashData(&n, sizeof(int), id);
6906 return id;
6907}
6908
6909// Handle resize for: Resize Grips, Borders, Gamepad
6910// Return true when using auto-fit (double-click on resize grip)

Callers

nothing calls this directly

Calls 2

ImHashStrFunction · 0.85
ImHashDataFunction · 0.85

Tested by

no test coverage detected