MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / Update

Method Update

imgui_tiny_app/imgui/imgui_widgets.cpp:8993–9002  ·  view source on GitHub ↗

Helpers for internal use

Source from the content-addressed store, hash-verified

8991
8992// Helpers for internal use
8993void ImGuiMenuColumns::Update(float spacing, bool window_reappearing)
8994{
8995 if (window_reappearing)
8996 memset(Widths, 0, sizeof(Widths));
8997 Spacing = (ImU16)spacing;
8998 CalcNextTotalWidth(true);
8999 memset(Widths, 0, sizeof(Widths));
9000 TotalWidth = NextTotalWidth;
9001 NextTotalWidth = 0;
9002}
9003
9004void ImGuiMenuColumns::CalcNextTotalWidth(bool update_offsets)
9005{

Callers 1

BeginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected