Helpers for internal use
| 8991 | |
| 8992 | // Helpers for internal use |
| 8993 | void 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 | |
| 9004 | void ImGuiMenuColumns::CalcNextTotalWidth(bool update_offsets) |
| 9005 | { |