|
@@ -2028,8 +2028,6 @@ struct ImGuiContext
|
|
ImVector<ImGuiPopupData> BeginPopupStack; // Which level of BeginPopup() we are in (reset every frame)
|
|
ImVector<ImGuiPopupData> BeginPopupStack; // Which level of BeginPopup() we are in (reset every frame)
|
|
ImVector<ImGuiNavTreeNodeData> NavTreeNodeStack; // Stack for TreeNode() when a NavLeft requested is emitted.
|
|
ImVector<ImGuiNavTreeNodeData> NavTreeNodeStack; // Stack for TreeNode() when a NavLeft requested is emitted.
|
|
|
|
|
|
- int BeginMenuCount;
|
|
|
|
-
|
|
|
|
// Viewports
|
|
// Viewports
|
|
ImVector<ImGuiViewportP*> Viewports; // Active viewports (Size==1 in 'master' branch). Each viewports hold their copy of ImDrawData.
|
|
ImVector<ImGuiViewportP*> Viewports; // Active viewports (Size==1 in 'master' branch). Each viewports hold their copy of ImDrawData.
|
|
|
|
|
|
@@ -2154,6 +2152,8 @@ struct ImGuiContext
|
|
ImGuiInputTextDeactivatedState InputTextDeactivatedState;
|
|
ImGuiInputTextDeactivatedState InputTextDeactivatedState;
|
|
ImFont InputTextPasswordFont;
|
|
ImFont InputTextPasswordFont;
|
|
ImGuiID TempInputId; // Temporary text input when CTRL+clicking on a slider, etc.
|
|
ImGuiID TempInputId; // Temporary text input when CTRL+clicking on a slider, etc.
|
|
|
|
+ int BeginMenuDepth;
|
|
|
|
+ int BeginComboDepth;
|
|
ImGuiColorEditFlags ColorEditOptions; // Store user options for color edit widgets
|
|
ImGuiColorEditFlags ColorEditOptions; // Store user options for color edit widgets
|
|
ImGuiID ColorEditCurrentID; // Set temporarily while inside of the parent-most ColorEdit4/ColorPicker4 (because they call each others).
|
|
ImGuiID ColorEditCurrentID; // Set temporarily while inside of the parent-most ColorEdit4/ColorPicker4 (because they call each others).
|
|
ImGuiID ColorEditSavedID; // ID we are saving/restoring HS for
|
|
ImGuiID ColorEditSavedID; // ID we are saving/restoring HS for
|
|
@@ -2307,7 +2307,6 @@ struct ImGuiContext
|
|
CurrentFocusScopeId = 0;
|
|
CurrentFocusScopeId = 0;
|
|
CurrentItemFlags = ImGuiItemFlags_None;
|
|
CurrentItemFlags = ImGuiItemFlags_None;
|
|
DebugShowGroupRects = false;
|
|
DebugShowGroupRects = false;
|
|
- BeginMenuCount = 0;
|
|
|
|
|
|
|
|
NavWindow = NULL;
|
|
NavWindow = NULL;
|
|
NavId = NavFocusScopeId = NavActivateId = NavActivateDownId = NavActivatePressedId = 0;
|
|
NavId = NavFocusScopeId = NavActivateId = NavActivateDownId = NavActivatePressedId = 0;
|
|
@@ -2371,6 +2370,7 @@ struct ImGuiContext
|
|
MouseStationaryTimer = 0.0f;
|
|
MouseStationaryTimer = 0.0f;
|
|
|
|
|
|
TempInputId = 0;
|
|
TempInputId = 0;
|
|
|
|
+ BeginMenuDepth = BeginComboDepth = 0;
|
|
ColorEditOptions = ImGuiColorEditFlags_DefaultOptions_;
|
|
ColorEditOptions = ImGuiColorEditFlags_DefaultOptions_;
|
|
ColorEditCurrentID = ColorEditSavedID = 0;
|
|
ColorEditCurrentID = ColorEditSavedID = 0;
|
|
ColorEditSavedHue = ColorEditSavedSat = 0.0f;
|
|
ColorEditSavedHue = ColorEditSavedSat = 0.0f;
|