| 4908 | } |
| 4909 | |
| 4910 | static ImGuiCol GetWindowBgColorIdxFromFlags(ImGuiWindowFlags flags) |
| 4911 | { |
| 4912 | if (flags & (ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_Popup)) |
| 4913 | return ImGuiCol_PopupBg; |
| 4914 | if (flags & ImGuiWindowFlags_ChildWindow) |
| 4915 | return ImGuiCol_ChildBg; |
| 4916 | return ImGuiCol_WindowBg; |
| 4917 | } |
| 4918 | |
| 4919 | static void CalcResizePosSizeFromAnyCorner(ImGuiWindow* window, const ImVec2& corner_target, const ImVec2& corner_norm, ImVec2* out_pos, ImVec2* out_size) |
| 4920 | { |
no outgoing calls
no test coverage detected