MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / Update

Method Update

plugins/Cardinal/src/DearImGui/imgui_widgets.cpp:6684–6693  ·  view source on GitHub ↗

Helpers for internal use

Source from the content-addressed store, hash-verified

6682
6683// Helpers for internal use
6684void ImGuiMenuColumns::Update(float spacing, bool window_reappearing)
6685{
6686 if (window_reappearing)
6687 memset(Widths, 0, sizeof(Widths));
6688 Spacing = (ImU16)spacing;
6689 CalcNextTotalWidth(true);
6690 memset(Widths, 0, sizeof(Widths));
6691 TotalWidth = NextTotalWidth;
6692 NextTotalWidth = 0;
6693}
6694
6695void ImGuiMenuColumns::CalcNextTotalWidth(bool update_offsets)
6696{

Callers 1

BeginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected