Browse Source

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

pull/1608/head
omar 7 years ago
parent
commit
587e637db0
  1. 5
      imgui_internal.h

5
imgui_internal.h

@ -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;

Loading…
Cancel
Save