MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / GetWindowResizeBorderID

Method GetWindowResizeBorderID

Dependencies/ImGui/src/imgui.cpp:7190–7198  ·  view source on GitHub ↗

Borders (Left, Right, Up, Down)

Source from the content-addressed store, hash-verified

7188
7189// Borders (Left, Right, Up, Down)
7190ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir)
7191{
7192 IM_ASSERT(dir >= 0 && dir < 4);
7193 int n = (int)dir + 4;
7194 ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID;
7195 id = ImHashStr("#RESIZE", 0, id);
7196 id = ImHashData(&n, sizeof(int), id);
7197 return id;
7198}
7199
7200// Handle resize for: Resize Grips, Borders, Gamepad
7201// 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