MCPcopy Create free account
hub / github.com/RenderKit/embree / Update

Method Update

tutorials/common/imgui/imgui_widgets.cpp:6753–6762  ·  view source on GitHub ↗

Helpers for internal use

Source from the content-addressed store, hash-verified

6751
6752// Helpers for internal use
6753void ImGuiMenuColumns::Update(float spacing, bool window_reappearing)
6754{
6755 if (window_reappearing)
6756 memset(Widths, 0, sizeof(Widths));
6757 Spacing = (ImU16)spacing;
6758 CalcNextTotalWidth(true);
6759 memset(Widths, 0, sizeof(Widths));
6760 TotalWidth = NextTotalWidth;
6761 NextTotalWidth = 0;
6762}
6763
6764void ImGuiMenuColumns::CalcNextTotalWidth(bool update_offsets)
6765{

Callers 1

BeginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected