Helpers for internal use
| 6682 | |
| 6683 | // Helpers for internal use |
| 6684 | void 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 | |
| 6695 | void ImGuiMenuColumns::CalcNextTotalWidth(bool update_offsets) |
| 6696 | { |