Minor fixes/tweaks (some to reduce drift wiih master branch)

This commit is contained in:
omar
2020-01-28 20:08:04 +01:00
parent 377f730054
commit bbe946fb6c
6 changed files with 19 additions and 22 deletions

View File

@ -1004,7 +1004,7 @@ struct ImGuiNextItemData
};
//-----------------------------------------------------------------------------
// Docking, Tabs
// Tabs
//-----------------------------------------------------------------------------
struct ImGuiShrinkWidthItem
@ -1022,6 +1022,10 @@ struct ImGuiPtrOrIndex
ImGuiPtrOrIndex(int index) { Ptr = NULL; Index = index; }
};
//-----------------------------------------------------------------------------
// Docking
//-----------------------------------------------------------------------------
// Extend ImGuiDockNodeFlags_
enum ImGuiDockNodeFlagsPrivate_
{
@ -1113,7 +1117,7 @@ struct ImGuiDockNode
};
//-----------------------------------------------------------------------------
// Main imgui context
// Main Dear ImGui context
//-----------------------------------------------------------------------------
struct ImGuiContext
@ -1610,7 +1614,7 @@ struct IMGUI_API ImGuiWindow
bool SkipItems; // Set when items can safely be all clipped (e.g. window not visible or collapsed)
bool Appearing; // Set during the frame where the window is appearing (or re-appearing)
bool Hidden; // Do not display (== (HiddenFrames*** > 0))
bool IsFallbackWindow;
bool IsFallbackWindow; // Set on the "Debug##Default" window.
bool HasCloseButton; // Set when the window has a close button (p_open != NULL)
signed char ResizeBorderHeld; // Current border being held for resize (-1: none, otherwise 0-3)
short BeginCount; // Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End pairs)