MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / CalcWindowExpectedSize

Method CalcWindowExpectedSize

lib/imgui/imgui.cpp:4902–4908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4900}
4901
4902ImVec2 ImGui::CalcWindowExpectedSize(ImGuiWindow* window)
4903{
4904 ImVec2 size_contents = CalcWindowContentSize(window);
4905 ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, size_contents);
4906 ImVec2 size_final = CalcWindowSizeAfterConstraint(window, size_auto_fit);
4907 return size_final;
4908}
4909
4910static ImGuiCol GetWindowBgColorIdxFromFlags(ImGuiWindowFlags flags)
4911{

Callers

nothing calls this directly

Calls 3

CalcWindowContentSizeFunction · 0.85
CalcWindowAutoFitSizeFunction · 0.85

Tested by

no test coverage detected