From 587e637db0be03fb11754a59c59383912cbdaf73 Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 29 Sep 2017 22:57:44 +0200 Subject: [PATCH] Nav: Taking note that we should aim to remove MenuBarAppending later. --- imgui_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/imgui_internal.h b/imgui_internal.h index bf1ff1f8..5b399b52 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -665,8 +665,9 @@ struct IMGUI_API ImGuiDrawContext bool LastItemRectHoveredRect; bool NavHasScroll; // Set when scrolling can be used (ScrollMax > 0.0f) int NavLayerCurrent; // Current layer, 0..31 (we currently only use 0..1) - int NavLayerActiveMask, NavLayerActiveMaskNext; // Which layer have been written to. - bool MenuBarAppending; + int NavLayerActiveMask; // Which layer have been written to (result from previous frame) + int NavLayerActiveMaskNext; // Which layer have been written to (buffer for current frame) + bool MenuBarAppending; // FIXME: Remove this float MenuBarOffsetX; ImVector ChildWindows; ImGuiStorage* StateStorage;