|
@@ -393,8 +393,9 @@ CODE
|
|
- 2018/07/22 (1.63) - changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time.
|
|
- 2018/07/22 (1.63) - changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time.
|
|
- 2018/07/08 (1.63) - style: renamed ImGuiCol_ModalWindowDarkening to ImGuiCol_ModalWindowDimBg for consistency with other features. Kept redirection enum (will obsolete).
|
|
- 2018/07/08 (1.63) - style: renamed ImGuiCol_ModalWindowDarkening to ImGuiCol_ModalWindowDimBg for consistency with other features. Kept redirection enum (will obsolete).
|
|
- 2018/06/08 (1.62) - examples: the imgui_impl_xxx files have been split to separate platform (Win32, Glfw, SDL2, etc.) from renderer (DX11, OpenGL, Vulkan, etc.).
|
|
- 2018/06/08 (1.62) - examples: the imgui_impl_xxx files have been split to separate platform (Win32, Glfw, SDL2, etc.) from renderer (DX11, OpenGL, Vulkan, etc.).
|
|
- old binding will still work as is, however prefer using the separated bindings as they will be updated to be multi-viewport conformant.
|
|
|
|
|
|
+ old bindings will still work as is, however prefer using the separated bindings as they will be updated to support multi-viewports.
|
|
when adopting new bindings follow the main.cpp code of your preferred examples/ folder to know which functions to call.
|
|
when adopting new bindings follow the main.cpp code of your preferred examples/ folder to know which functions to call.
|
|
|
|
+ in particular, note that old bindings called ImGui::NewFrame() at the end of their ImGui_ImplXXXX_NewFrame() function.
|
|
- 2018/06/06 (1.62) - renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish other variants and discourage using the full set.
|
|
- 2018/06/06 (1.62) - renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish other variants and discourage using the full set.
|
|
- 2018/06/06 (1.62) - TreeNodeEx()/TreeNodeBehavior(): the ImGuiTreeNodeFlags_CollapsingHeader helper now include the ImGuiTreeNodeFlags_NoTreePushOnOpen flag. See Changelog for details.
|
|
- 2018/06/06 (1.62) - TreeNodeEx()/TreeNodeBehavior(): the ImGuiTreeNodeFlags_CollapsingHeader helper now include the ImGuiTreeNodeFlags_NoTreePushOnOpen flag. See Changelog for details.
|
|
- 2018/05/03 (1.61) - DragInt(): the default compile-time format string has been changed from "%.0f" to "%d", as we are not using integers internally any more.
|
|
- 2018/05/03 (1.61) - DragInt(): the default compile-time format string has been changed from "%.0f" to "%d", as we are not using integers internally any more.
|
|
@@ -5444,7 +5445,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags)
|
|
window->DC.TextWrapPosStack.resize(0);
|
|
window->DC.TextWrapPosStack.resize(0);
|
|
window->DC.CurrentColumns = NULL;
|
|
window->DC.CurrentColumns = NULL;
|
|
window->DC.TreeDepth = 0;
|
|
window->DC.TreeDepth = 0;
|
|
- window->DC.TreeDepthMayJumpToParentOnPop = 0x00;
|
|
|
|
|
|
+ window->DC.TreeStoreMayJumpToParentOnPop = 0x00;
|
|
window->DC.StateStorage = &window->StateStorage;
|
|
window->DC.StateStorage = &window->StateStorage;
|
|
window->DC.GroupStack.resize(0);
|
|
window->DC.GroupStack.resize(0);
|
|
window->MenuColumns.Update(3, style.ItemSpacing.x, window_just_activated_by_user);
|
|
window->MenuColumns.Update(3, style.ItemSpacing.x, window_just_activated_by_user);
|
|
@@ -6396,7 +6397,7 @@ void ImGui::SetNextWindowBgAlpha(float alpha)
|
|
g.NextWindowData.BgAlphaCond = ImGuiCond_Always; // Using a Cond member for consistency (may transition all of them to single flag set for fast Clear() op)
|
|
g.NextWindowData.BgAlphaCond = ImGuiCond_Always; // Using a Cond member for consistency (may transition all of them to single flag set for fast Clear() op)
|
|
}
|
|
}
|
|
|
|
|
|
-// FIXME: This is in window space (not screen space!)
|
|
|
|
|
|
+// FIXME: This is in window space (not screen space!). We should try to obsolete all those functions.
|
|
ImVec2 ImGui::GetContentRegionMax()
|
|
ImVec2 ImGui::GetContentRegionMax()
|
|
{
|
|
{
|
|
ImGuiWindow* window = GImGui->CurrentWindow;
|
|
ImGuiWindow* window = GImGui->CurrentWindow;
|