| 5462 | } |
| 5463 | |
| 5464 | static ImGuiCol GetWindowBgColorIdx(ImGuiWindow* window) |
| 5465 | { |
| 5466 | if (window->Flags & (ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_Popup)) |
| 5467 | return ImGuiCol_PopupBg; |
| 5468 | if (window->Flags & ImGuiWindowFlags_ChildWindow) |
| 5469 | return ImGuiCol_ChildBg; |
| 5470 | return ImGuiCol_WindowBg; |
| 5471 | } |
| 5472 | |
| 5473 | static void CalcResizePosSizeFromAnyCorner(ImGuiWindow* window, const ImVec2& corner_target, const ImVec2& corner_norm, ImVec2* out_pos, ImVec2* out_size) |
| 5474 | { |
no outgoing calls
no test coverage detected