Helpers for internal use
| 6751 | |
| 6752 | // Helpers for internal use |
| 6753 | void 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 | |
| 6764 | void ImGuiMenuColumns::CalcNextTotalWidth(bool update_offsets) |
| 6765 | { |