Nav: Taking note that we should aim to remove MenuBarAppending later.

This commit is contained in:
omar 2017-09-29 22:57:44 +02:00
parent 1eaa9d0621
commit 587e637db0

View File

@ -665,8 +665,9 @@ struct IMGUI_API ImGuiDrawContext
bool LastItemRectHoveredRect; bool LastItemRectHoveredRect;
bool NavHasScroll; // Set when scrolling can be used (ScrollMax > 0.0f) bool NavHasScroll; // Set when scrolling can be used (ScrollMax > 0.0f)
int NavLayerCurrent; // Current layer, 0..31 (we currently only use 0..1) int NavLayerCurrent; // Current layer, 0..31 (we currently only use 0..1)
int NavLayerActiveMask, NavLayerActiveMaskNext; // Which layer have been written to. int NavLayerActiveMask; // Which layer have been written to (result from previous frame)
bool MenuBarAppending; int NavLayerActiveMaskNext; // Which layer have been written to (buffer for current frame)
bool MenuBarAppending; // FIXME: Remove this
float MenuBarOffsetX; float MenuBarOffsetX;
ImVector<ImGuiWindow*> ChildWindows; ImVector<ImGuiWindow*> ChildWindows;
ImGuiStorage* StateStorage; ImGuiStorage* StateStorage;