| 6831 | } |
| 6832 | |
| 6833 | static ImGuiCol GetWindowBgColorIdx(ImGuiWindow* window) |
| 6834 | { |
| 6835 | if (window->Flags & (ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_Popup)) |
| 6836 | return ImGuiCol_PopupBg; |
| 6837 | if (window->Flags & ImGuiWindowFlags_ChildWindow) |
| 6838 | return ImGuiCol_ChildBg; |
| 6839 | return ImGuiCol_WindowBg; |
| 6840 | } |
| 6841 | |
| 6842 | static void CalcResizePosSizeFromAnyCorner(ImGuiWindow* window, const ImVec2& corner_target_arg, const ImVec2& corner_norm, ImVec2* out_pos, ImVec2* out_size) |
| 6843 | { |
no outgoing calls
no test coverage detected