|
@@ -99,7 +99,7 @@ Other changes:
|
|
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------
|
|
-----------------------------------------------------------------------
|
|
- VERSION 1.89.4 WIP (In Progress)
|
|
|
|
|
|
+ VERSION 1.89.4 (Released 2023-03-14)
|
|
-----------------------------------------------------------------------
|
|
-----------------------------------------------------------------------
|
|
|
|
|
|
Breaking Changes:
|
|
Breaking Changes:
|
|
@@ -109,7 +109,7 @@ Breaking Changes:
|
|
- Moved the optional "courtesy maths operators" implementation from imgui_internal.h in imgui.h.
|
|
- Moved the optional "courtesy maths operators" implementation from imgui_internal.h in imgui.h.
|
|
Even though we encourage using your own maths types and operators by setting up IM_VEC2_CLASS_EXTRA,
|
|
Even though we encourage using your own maths types and operators by setting up IM_VEC2_CLASS_EXTRA,
|
|
it has been frequently requested by people to use our own. We had an opt-in define which was
|
|
it has been frequently requested by people to use our own. We had an opt-in define which was
|
|
- previously fulfilled in imgui_internal.h. It is now fulfilled in imgui.h. (#6164, #6137, #5966, #2832)
|
|
|
|
|
|
+ previously fulfilled by imgui_internal.h. It is now fulfilled by imgui.h. (#6164, #6137, #5966, #2832)
|
|
OK: #define IMGUI_DEFINE_MATH_OPERATORS / #include "imgui.h" / #include "imgui_internal.h"
|
|
OK: #define IMGUI_DEFINE_MATH_OPERATORS / #include "imgui.h" / #include "imgui_internal.h"
|
|
Error: #include "imgui.h" / #define IMGUI_DEFINE_MATH_OPERATORS / #include "imgui_internal.h"
|
|
Error: #include "imgui.h" / #define IMGUI_DEFINE_MATH_OPERATORS / #include "imgui_internal.h"
|
|
Added a dedicated compile-time check message to help diagnose this.
|
|
Added a dedicated compile-time check message to help diagnose this.
|
|
@@ -117,11 +117,22 @@ Breaking Changes:
|
|
Please only submit contents and call EndTooltip() if BeginTooltip() returns true.
|
|
Please only submit contents and call EndTooltip() if BeginTooltip() returns true.
|
|
In reality the function will _currently_ always return true, but further changes down the
|
|
In reality the function will _currently_ always return true, but further changes down the
|
|
line may change this, best to clarify API sooner. Updated demo code accordingly.
|
|
line may change this, best to clarify API sooner. Updated demo code accordingly.
|
|
|
|
+- Commented out redirecting enums/functions names that were marked obsolete two years ago:
|
|
|
|
+ - ImGuiSliderFlags_ClampOnInput -> use ImGuiSliderFlags_AlwaysClamp
|
|
|
|
+ - ImGuiInputTextFlags_AlwaysInsertMode -> use ImGuiInputTextFlags_AlwaysOverwrite
|
|
|
|
+ - ImDrawList::AddBezierCurve() -> use ImDrawList::AddBezierCubic()
|
|
|
|
+ - ImDrawList::PathBezierCurveTo() -> use ImDrawList::PathBezierCubicCurveTo()
|
|
|
|
|
|
Other changes:
|
|
Other changes:
|
|
|
|
|
|
- Nav: Tabbing now cycles through all items when ImGuiConfigFlags_NavEnableKeyboard is set.
|
|
- Nav: Tabbing now cycles through all items when ImGuiConfigFlags_NavEnableKeyboard is set.
|
|
(#3092, #5759, #787)
|
|
(#3092, #5759, #787)
|
|
|
|
+ While this was generally desired and requested by many, note that its addition means
|
|
|
|
+ that some types of UI may become more fastidious to use TAB key with, if the navigation
|
|
|
|
+ cursor cycles through too many items. You can mark items items as not tab-spottable:
|
|
|
|
+ - Public API: PushTabStop(false) / PopTabStop()
|
|
|
|
+ - Internal: PushItemFlag(ImGuiItemFlags_NoTabStop, true);
|
|
|
|
+ - Internal: Directly pass ImGuiItemFlags_NoTabStop to ItemAdd() for custom widgets.
|
|
- Nav: Tabbing/Shift-Tabbing can more reliably be used to step out of an item that is not
|
|
- Nav: Tabbing/Shift-Tabbing can more reliably be used to step out of an item that is not
|
|
tab-stoppable. (#3092, #5759, #787)
|
|
tab-stoppable. (#3092, #5759, #787)
|
|
- Nav: Made Enter key submit the same type of Activation event as Space key,
|
|
- Nav: Made Enter key submit the same type of Activation event as Space key,
|
|
@@ -131,23 +142,32 @@ Other changes:
|
|
- Nav: Fixed an issue with Gamepad navigation when the movement lead to a scroll and
|
|
- Nav: Fixed an issue with Gamepad navigation when the movement lead to a scroll and
|
|
frame time > repeat rate. Triggering a new move request on the same frame as a move
|
|
frame time > repeat rate. Triggering a new move request on the same frame as a move
|
|
result lead to an incorrect calculation and loss of navigation id. (#6171)
|
|
result lead to an incorrect calculation and loss of navigation id. (#6171)
|
|
|
|
+- Nav: Fixed SetItemDefaultFocus() from not scrolling when item is partially visible.
|
|
|
|
+ (#2814, #2812) [@DomGries]
|
|
|
|
+- Tables: Fixed an issue where user's Y cursor movement within a hidden column would
|
|
|
|
+ have side-effects.
|
|
- IO: Lifted constraint to call io.AddEventXXX functions from current context. (#4921, #5856, #6199)
|
|
- IO: Lifted constraint to call io.AddEventXXX functions from current context. (#4921, #5856, #6199)
|
|
- InputText: Fixed not being able to use CTRL+Tab while an InputText() using Tab
|
|
- InputText: Fixed not being able to use CTRL+Tab while an InputText() using Tab
|
|
- for completion or textinput is active (regresion from 1.89).
|
|
|
|
|
|
+ for completion or text data is active (regression from 1.89).
|
|
- Drag and Drop: Fixed handling of overlapping targets when smaller one is submitted
|
|
- Drag and Drop: Fixed handling of overlapping targets when smaller one is submitted
|
|
before and can accept the same data type. (#6183).
|
|
before and can accept the same data type. (#6183).
|
|
- Drag and Drop: Clear drag and drop state as soon as delivery is accepted in order to
|
|
- Drag and Drop: Clear drag and drop state as soon as delivery is accepted in order to
|
|
- avoid inteferences. (#5817, #6183) [@DimaKoltun]
|
|
|
|
|
|
+ avoid interferences. (#5817, #6183) [@DimaKoltun]
|
|
|
|
+- Debug Tools: Added io.ConfigDebugBeginReturnValueOnce / io.ConfigDebugBeginReturnValueLoop
|
|
|
|
+ options to simulate Begin/BeginChild returning false to facilitate debugging user behavior.
|
|
|
|
+- Demo: Updated to test return value of BeginTooltip().
|
|
- Backends: OpenGL3: Fixed restoration of a potentially deleted OpenGL program. If an active
|
|
- Backends: OpenGL3: Fixed restoration of a potentially deleted OpenGL program. If an active
|
|
program was pending deletion, attempting to restore it would error. (#6220, #6224) [@Cyphall]
|
|
program was pending deletion, attempting to restore it would error. (#6220, #6224) [@Cyphall]
|
|
- Backends: Win32: Use WM_NCMOUSEMOVE / WM_NCMOUSELEAVE to track mouse positions over
|
|
- Backends: Win32: Use WM_NCMOUSEMOVE / WM_NCMOUSELEAVE to track mouse positions over
|
|
non-client area (e.g. OS decorations) when app is not focused. (#6045, #6162)
|
|
non-client area (e.g. OS decorations) when app is not focused. (#6045, #6162)
|
|
-- Backends: SDL2, SDL3: Accept SDL_GetPerformanceCounter() not returning a monotonically
|
|
|
|
|
|
+- Backends: SDL2, SDL3: Accept SDL_GetPerformanceCounter() not returning a monotonically
|
|
increasing value. (#6189, #6114, #3644) [@adamkewley]
|
|
increasing value. (#6189, #6114, #3644) [@adamkewley]
|
|
|
|
+- Backends: GLFW: Avoid using glfwGetError() and glfwGetGamepadState() on Emscripten, which
|
|
|
|
+ recently updated its GLFW emulation layer to GLFW 3.3 without supporting those. (#6240)
|
|
- Examples: Android: Fixed example build for Gradle 8. (#6229, #6227) [@duddel]
|
|
- Examples: Android: Fixed example build for Gradle 8. (#6229, #6227) [@duddel]
|
|
- Examples: Updated all examples application to enable ImGuiConfigFlags_NavEnableKeyboard
|
|
- Examples: Updated all examples application to enable ImGuiConfigFlags_NavEnableKeyboard
|
|
and ImGuiConfigFlags_NavEnableGamepad by default. (#787)
|
|
and ImGuiConfigFlags_NavEnableGamepad by default. (#787)
|
|
-- Demo: Updated to test return value of BeginTooltip().
|
|
|
|
|
|
+- Internals: Misc tweaks to facilitate applying an explicit-context patch. (#5856) [@Dragnalith]
|
|
|
|
|
|
-----------------------------------------------------------------------
|
|
-----------------------------------------------------------------------
|
|
VERSION 1.89.3 (Released 2023-02-14)
|
|
VERSION 1.89.3 (Released 2023-02-14)
|