| 5700 | } |
| 5701 | |
| 5702 | static ImGuiCol GetWindowBgColorIdx(ImGuiWindow* window) |
| 5703 | { |
| 5704 | if (window->Flags & (ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_Popup)) |
| 5705 | return ImGuiCol_PopupBg; |
| 5706 | if (window->Flags & ImGuiWindowFlags_ChildWindow) |
| 5707 | return ImGuiCol_ChildBg; |
| 5708 | return ImGuiCol_WindowBg; |
| 5709 | } |
| 5710 | |
| 5711 | static void CalcResizePosSizeFromAnyCorner(ImGuiWindow* window, const ImVec2& corner_target, const ImVec2& corner_norm, ImVec2* out_pos, ImVec2* out_size) |
| 5712 | { |
no outgoing calls
no test coverage detected