MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetWindowBgColorIdx

Function GetWindowBgColorIdx

3rdparty/imgui/src/imgui.cpp:6833–6840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6831}
6832
6833static 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
6842static void CalcResizePosSizeFromAnyCorner(ImGuiWindow* window, const ImVec2& corner_target_arg, const ImVec2& corner_norm, ImVec2* out_pos, ImVec2* out_size)
6843{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected