Browse Source

Version 1.88

(fix "Show Debug Log" checkbox in Metrics window)
pull/4876/head v1.88
ocornut 2 years ago
parent
commit
9aae45eb4a
  1. 112
      docs/CHANGELOG.txt
  2. 5
      imgui.cpp
  3. 6
      imgui.h
  4. 2
      imgui_demo.cpp
  5. 2
      imgui_draw.cpp
  6. 2
      imgui_internal.h
  7. 2
      imgui_tables.cpp
  8. 2
      imgui_widgets.cpp

112
docs/CHANGELOG.txt

@ -32,9 +32,11 @@ HOW TO UPDATE?
----------------------------------------------------------------------- -----------------------------------------------------------------------
VERSION 1.88 WIP (In Progress) VERSION 1.88 (Released 2022-06-21)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.88
Breaking changes: Breaking changes:
- Renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS for correctness. - Renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS for correctness.
@ -48,8 +50,8 @@ Breaking changes:
automatically handling event capture. Examples that are using the OSX backend have removed automatically handling event capture. Examples that are using the OSX backend have removed
all the now-unnecessary calls to ImGui_ImplOSX_HandleEvent(), applications can do as well. all the now-unnecessary calls to ImGui_ImplOSX_HandleEvent(), applications can do as well.
[@stuartcarnie] (#4821) [@stuartcarnie] (#4821)
- Internals: calling ButtonBehavior() without calling ItemAdd() now requires a KeepAliveID(). - Internals: calling ButtonBehavior() without calling ItemAdd() now requires a KeepAliveID()
This is because the KeepAliveID() call was moved from GetID() to ItemAdd()). (#5181) call. This is because the KeepAliveID() call was moved from GetID() to ItemAdd(). (#5181)
Other Changes: Other Changes:
@ -62,7 +64,7 @@ Other Changes:
In particular, using the input system for fast game-like actions (e.g. WASD camera move) would In particular, using the input system for fast game-like actions (e.g. WASD camera move) would
typically have been impacted, as well as holding a key while dragging mouse. Constraints have typically have been impacted, as well as holding a key while dragging mouse. Constraints have
been lifted and are now only happening when e.g. an InputText() widget is active. (#4921, #4858) been lifted and are now only happening when e.g. an InputText() widget is active. (#4921, #4858)
Not that even thought you shouldn't need to disable io.ConfigInputTrickleEventQueue, you can Note that even thought you shouldn't need to disable io.ConfigInputTrickleEventQueue, you can
technically dynamically change its setting based on the context (e.g. disable only when hovering technically dynamically change its setting based on the context (e.g. disable only when hovering
or interacting with a game/3D view). or interacting with a game/3D view).
- IO: Fixed input queue trickling of mouse wheel events: multiple wheel events are merged, while - IO: Fixed input queue trickling of mouse wheel events: multiple wheel events are merged, while
@ -90,7 +92,7 @@ Other Changes:
- Nav: Changed SetKeyboardFocusHere() to not behave if a drag or window moving is in progress. - Nav: Changed SetKeyboardFocusHere() to not behave if a drag or window moving is in progress.
- Nav: Fixed inability to cancel nav in modal popups. (#5400) [@rokups] - Nav: Fixed inability to cancel nav in modal popups. (#5400) [@rokups]
- IsItemHovered(): added ImGuiHoveredFlags_NoNavOverride to disable the behavior where the - IsItemHovered(): added ImGuiHoveredFlags_NoNavOverride to disable the behavior where the
return value is overriden by focus when gamepad/keyboard navigation is active. return value is overridden by focus when gamepad/keyboard navigation is active.
- InputText: Fixed pressing Tab emitting two tabs characters because of dual Keys/Chars events being - InputText: Fixed pressing Tab emitting two tabs characters because of dual Keys/Chars events being
trickled with the new input queue (happened on some backends only). (#2467, #1336) trickled with the new input queue (happened on some backends only). (#2467, #1336)
- InputText: Fixed a one-frame display glitch where pressing Escape to revert after a deletion - InputText: Fixed a one-frame display glitch where pressing Escape to revert after a deletion
@ -101,17 +103,17 @@ Other Changes:
- Tables: Fixed incorrect border height used for logic when resizing one of several synchronized - Tables: Fixed incorrect border height used for logic when resizing one of several synchronized
instance of a same table ID, when instances have a different height. (#3955). instance of a same table ID, when instances have a different height. (#3955).
- Tables: Fixed incorrect auto-fit of parent windows when using non-resizable weighted columns. (#5276) - Tables: Fixed incorrect auto-fit of parent windows when using non-resizable weighted columns. (#5276)
- Tables: Fixed drawcall merging of last column. Depending on some unrelated settings (e.g. BorderH) - Tables: Fixed draw-call merging of last column. Depending on some unrelated settings (e.g. BorderH)
merging drawcall of the last column didn't always work (regression since 1.87). (#4843, #4844) [@rokups] merging draw-call of the last column didn't always work (regression since 1.87). (#4843, #4844) [@rokups]
- Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate. - Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate.
- ColorEdit: Fixed text baseline alignment after a SameLine() after a ColorEdit() with visible label. - ColorEdit: Fixed text baseline alignment after a SameLine() after a ColorEdit() with visible label.
- TabBar: TabItem() now reacts to SetNextItemWidth(). (#5262) - TabBar: BeginTabItem() now reacts to SetNextItemWidth(). (#5262)
- TabBar: Tweak shrinking policy so that while resizing tabs that don't need shrinking keep their - TabBar: Tweak shrinking policy so that while resizing tabs that don't need shrinking keep their
initial width more precisely (without the occasional +1 worth of width). initial width more precisely (without the occasional +1 worth of width).
- Menus: Adjusted BeginMenu() closing logic so hovering void or non-MenuItem() in parent window - Menus: Adjusted BeginMenu() closing logic so hovering void or non-MenuItem() in parent window
always lead to menu closure. Fixes using items that are not MenuItem() or BeginItem() at the root always lead to menu closure. Fixes using items that are not MenuItem() or BeginItem() at the root
level of a popup with a child menu opened. level of a popup with a child menu opened.
- Menus: Menus emitted from the main/scrolling layer are not part of the same menuset as menus emitted - Menus: Menus emitted from the main/scrolling layer are not part of the same menu-set as menus emitted
from the menu-bar, avoiding accidental hovering from one to the other. (#3496, #4797) [@rokups] from the menu-bar, avoiding accidental hovering from one to the other. (#3496, #4797) [@rokups]
- Style: Adjust default value of GrabMinSize from 10.0f to 12.0f. - Style: Adjust default value of GrabMinSize from 10.0f to 12.0f.
- Stack Tool: Added option to copy item path to clipboard. (#4631) - Stack Tool: Added option to copy item path to clipboard. (#4631)
@ -167,7 +169,7 @@ Other Changes:
VERSION 1.87 (Released 2022-02-07) VERSION 1.87 (Released 2022-02-07)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.87 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.87
Breaking Changes: Breaking Changes:
@ -309,7 +311,7 @@ Other Changes:
VERSION 1.86 (Released 2021-12-22) VERSION 1.86 (Released 2021-12-22)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.86 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.86
Breaking Changes: Breaking Changes:
@ -407,7 +409,7 @@ Other Changes:
VERSION 1.85 (Released 2021-10-12) VERSION 1.85 (Released 2021-10-12)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.85 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.85
This is the last release officially supporting C++03 and Visual Studio 2008/2010. (#4537) This is the last release officially supporting C++03 and Visual Studio 2008/2010. (#4537)
We expect that the next release will require a subset of the C++11 language (VS 2012~, GCC 4.8.1, Clang 3.3). We expect that the next release will require a subset of the C++11 language (VS 2012~, GCC 4.8.1, Clang 3.3).
@ -498,7 +500,7 @@ Other Changes:
VERSION 1.84.2 (Released 2021-08-23) VERSION 1.84.2 (Released 2021-08-23)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.2 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.84.2
- Disabled: Fixed nested BeginDisabled()/EndDisabled() calls. (#211, #4452, #4453, #4462) [@Legulysse] - Disabled: Fixed nested BeginDisabled()/EndDisabled() calls. (#211, #4452, #4453, #4462) [@Legulysse]
- Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300 es") to use normal precision - Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300 es") to use normal precision
@ -509,7 +511,7 @@ Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.2
VERSION 1.84.1 (Released 2021-08-20) VERSION 1.84.1 (Released 2021-08-20)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.1 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.84.1
- Disabled: Fixed BeginDisabled(false) - BeginDisabled(true) was working. (#211, #4452, #4453) - Disabled: Fixed BeginDisabled(false) - BeginDisabled(true) was working. (#211, #4452, #4453)
@ -518,7 +520,7 @@ Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.1
VERSION 1.84 (Released 2021-08-20) VERSION 1.84 (Released 2021-08-20)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.84
Breaking Changes: Breaking Changes:
@ -634,7 +636,7 @@ Other Changes:
VERSION 1.83 (Released 2021-05-24) VERSION 1.83 (Released 2021-05-24)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.83 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.83
Breaking Changes: Breaking Changes:
@ -718,7 +720,7 @@ Other Changes:
VERSION 1.82 (Released 2021-02-15) VERSION 1.82 (Released 2021-02-15)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.82 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.82
Breaking Changes: Breaking Changes:
@ -813,7 +815,7 @@ Other Changes:
VERSION 1.81 (Released 2021-02-10) VERSION 1.81 (Released 2021-02-10)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.81 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.81
Breaking Changes: Breaking Changes:
@ -894,7 +896,7 @@ Other Changes:
VERSION 1.80 (Released 2021-01-21) VERSION 1.80 (Released 2021-01-21)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.80 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.80
Breaking Changes: Breaking Changes:
@ -1013,7 +1015,7 @@ Other Changes:
VERSION 1.79 (Released 2020-10-08) VERSION 1.79 (Released 2020-10-08)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.79 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.79
Breaking Changes: Breaking Changes:
@ -1107,7 +1109,7 @@ Other Changes:
VERSION 1.78 (Released 2020-08-18) VERSION 1.78 (Released 2020-08-18)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.78 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.78
Breaking Changes: Breaking Changes:
@ -1208,7 +1210,7 @@ Other Changes:
VERSION 1.77 (Released 2020-06-29) VERSION 1.77 (Released 2020-06-29)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.77 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.77
Breaking Changes: Breaking Changes:
@ -1299,7 +1301,7 @@ Other Changes:
VERSION 1.76 (Released 2020-04-12) VERSION 1.76 (Released 2020-04-12)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.76 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.76
Other Changes: Other Changes:
@ -1371,7 +1373,7 @@ Other Changes:
VERSION 1.75 (Released 2020-02-10) VERSION 1.75 (Released 2020-02-10)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.75 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.75
Breaking Changes: Breaking Changes:
@ -1469,7 +1471,7 @@ Other Changes:
VERSION 1.74 (Released 2019-11-25) VERSION 1.74 (Released 2019-11-25)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.74 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.74
Breaking Changes: Breaking Changes:
@ -1548,7 +1550,7 @@ Other Changes:
VERSION 1.73 (Released 2019-09-24) VERSION 1.73 (Released 2019-09-24)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.73 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.73
Other Changes: Other Changes:
@ -1610,7 +1612,7 @@ Other Changes:
VERSION 1.72b (Released 2019-07-31) VERSION 1.72b (Released 2019-07-31)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.72b Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.72b
Other Changes: Other Changes:
@ -1627,7 +1629,7 @@ Other Changes:
VERSION 1.72 (Released 2019-07-27) VERSION 1.72 (Released 2019-07-27)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.72 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.72
Breaking Changes: Breaking Changes:
@ -1712,7 +1714,7 @@ Other Changes:
VERSION 1.71 (Released 2019-06-12) VERSION 1.71 (Released 2019-06-12)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.71 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.71
Breaking Changes: Breaking Changes:
@ -1796,7 +1798,7 @@ Other Changes:
VERSION 1.70 (Released 2019-05-06) VERSION 1.70 (Released 2019-05-06)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.70 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.70
Breaking Changes: Breaking Changes:
@ -1887,7 +1889,7 @@ Other Changes:
VERSION 1.69 (Released 2019-03-13) VERSION 1.69 (Released 2019-03-13)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.69 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.69
Breaking Changes: Breaking Changes:
@ -1965,7 +1967,7 @@ Other Changes:
VERSION 1.68 (Released 2019-02-19) VERSION 1.68 (Released 2019-02-19)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.68 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.68
Breaking Changes: Breaking Changes:
@ -2035,7 +2037,7 @@ Other Changes:
VERSION 1.67 (Released 2019-01-14) VERSION 1.67 (Released 2019-01-14)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.67 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.67
Breaking Changes: Breaking Changes:
@ -2100,7 +2102,7 @@ Other Changes:
VERSION 1.66b (Released 2018-12-01) VERSION 1.66b (Released 2018-12-01)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.66b Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.66b
Other Changes: Other Changes:
@ -2119,7 +2121,7 @@ Other Changes:
VERSION 1.66 (Released 2018-11-22) VERSION 1.66 (Released 2018-11-22)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.66 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.66
Breaking Changes: Breaking Changes:
@ -2180,7 +2182,7 @@ Other Changes:
VERSION 1.65 (Released 2018-09-06) VERSION 1.65 (Released 2018-09-06)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.65 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.65
Breaking Changes: Breaking Changes:
@ -2206,7 +2208,7 @@ Other Changes:
VERSION 1.64 (Released 2018-08-31) VERSION 1.64 (Released 2018-08-31)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.64 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.64
Changes: Changes:
@ -2230,7 +2232,7 @@ Changes:
VERSION 1.63 (Released 2018-08-29) VERSION 1.63 (Released 2018-08-29)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.63 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.63
Breaking Changes: Breaking Changes:
@ -2324,7 +2326,7 @@ Other Changes:
VERSION 1.62 (Released 2018-06-22) VERSION 1.62 (Released 2018-06-22)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.62 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.62
Breaking Changes: Breaking Changes:
@ -2405,7 +2407,7 @@ Other Changes:
VERSION 1.61 (Released 2018-05-14) VERSION 1.61 (Released 2018-05-14)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.61 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.61
Breaking Changes: Breaking Changes:
@ -2481,7 +2483,7 @@ Other Changes:
VERSION 1.60 (Released 2018-04-07) VERSION 1.60 (Released 2018-04-07)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.60 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.60
The gamepad/keyboard navigation branch (which has been in the work since July 2016) has been merged. The gamepad/keyboard navigation branch (which has been in the work since July 2016) has been merged.
Gamepad/keyboard navigation is still marked as Beta and has to be enabled explicitly. Gamepad/keyboard navigation is still marked as Beta and has to be enabled explicitly.
@ -2647,7 +2649,7 @@ Other Changes:
VERSION 1.53 (Released 2017-12-25) VERSION 1.53 (Released 2017-12-25)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.53 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.53
Breaking Changes: Breaking Changes:
@ -2786,7 +2788,7 @@ Other Changes:
VERSION 1.52 (2017-10-27) VERSION 1.52 (2017-10-27)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.52 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.52
Breaking Changes: Breaking Changes:
@ -2892,7 +2894,7 @@ Beta Navigation Branch:
VERSION 1.51 (2017-08-24) VERSION 1.51 (2017-08-24)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.51 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.51
Breaking Changes: Breaking Changes:
@ -2956,7 +2958,7 @@ Other Changes:
VERSION 1.50 (2017-06-02) VERSION 1.50 (2017-06-02)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.50 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.50
Breaking Changes: Breaking Changes:
@ -3052,7 +3054,7 @@ Other Changes:
VERSION 1.49 (2016-05-09) VERSION 1.49 (2016-05-09)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.49 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.49
Breaking Changes: Breaking Changes:
@ -3130,7 +3132,7 @@ Other changes:
VERSION 1.48 (2016-04-09) VERSION 1.48 (2016-04-09)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.48 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.48
Breaking Changes: Breaking Changes:
@ -3200,7 +3202,7 @@ Other Changes:
VERSION 1.47 (2015-12-25) VERSION 1.47 (2015-12-25)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.47 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.47
Changes: Changes:
@ -3253,7 +3255,7 @@ Changes:
VERSION 1.46 (2015-10-18) VERSION 1.46 (2015-10-18)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.46 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.46
Changes: Changes:
@ -3305,7 +3307,7 @@ Changes:
VERSION 1.45 (2015-09-01) VERSION 1.45 (2015-09-01)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.45 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.45
Breaking Changes: Breaking Changes:
@ -3365,7 +3367,7 @@ Other Changes:
VERSION 1.44 (2015-08-08) VERSION 1.44 (2015-08-08)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.44 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.44
Breaking Changes: Breaking Changes:
@ -3409,7 +3411,7 @@ Other Changes:
VERSION 1.43 (2015-07-17) VERSION 1.43 (2015-07-17)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.43 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.43
Breaking Changes: Breaking Changes:
@ -3481,7 +3483,7 @@ Other Changes:
VERSION 1.42 (2015-07-08) VERSION 1.42 (2015-07-08)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.42 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.42
Breaking Changes: Breaking Changes:
@ -3526,7 +3528,7 @@ Other Changes:
VERSION 1.41 (2015-06-26) VERSION 1.41 (2015-06-26)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.41 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.41
Breaking Changes: Breaking Changes:
@ -3570,7 +3572,7 @@ Other Changes:
VERSION 1.40 (2015-05-31) VERSION 1.40 (2015-05-31)
----------------------------------------------------------------------- -----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.40 Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.40
Breaking Changes: Breaking Changes:

5
imgui.cpp

@ -1,4 +1,4 @@
// dear imgui, 1.88 WIP // dear imgui, v1.88
// (main code and documentation) // (main code and documentation)
// Help: // Help:
@ -399,6 +399,7 @@ CODE
- Backend writing to io.MouseWheel -> backend should call io.AddMouseWheelEvent() - Backend writing to io.MouseWheel -> backend should call io.AddMouseWheelEvent()
- Backend writing to io.MouseHoveredViewport -> backend should call io.AddMouseViewportEvent() [Docking branch w/ multi-viewports only] - Backend writing to io.MouseHoveredViewport -> backend should call io.AddMouseViewportEvent() [Docking branch w/ multi-viewports only]
note: for all calls to IO new functions, the Dear ImGui context should be bound/current. note: for all calls to IO new functions, the Dear ImGui context should be bound/current.
read https://github.com/ocornut/imgui/issues/4921 for details.
- 2022/01/10 (1.87) - inputs: reworked keyboard IO. Removed io.KeyMap[], io.KeysDown[] in favor of calling io.AddKeyEvent(). Removed GetKeyIndex(), now unecessary. All IsKeyXXX() functions now take ImGuiKey values. All features are still functional until IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Read Changelog and Release Notes for details. - 2022/01/10 (1.87) - inputs: reworked keyboard IO. Removed io.KeyMap[], io.KeysDown[] in favor of calling io.AddKeyEvent(). Removed GetKeyIndex(), now unecessary. All IsKeyXXX() functions now take ImGuiKey values. All features are still functional until IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Read Changelog and Release Notes for details.
- IsKeyPressed(MY_NATIVE_KEY_XXX) -> use IsKeyPressed(ImGuiKey_XXX) - IsKeyPressed(MY_NATIVE_KEY_XXX) -> use IsKeyPressed(ImGuiKey_XXX)
- IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX) - IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX)
@ -12309,6 +12310,8 @@ void ImGui::ShowMetricsWindow(bool* p_open)
ImGuiContext& g = *GImGui; ImGuiContext& g = *GImGui;
ImGuiIO& io = g.IO; ImGuiIO& io = g.IO;
ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig; ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig;
if (cfg->ShowDebugLog)
ShowDebugLogWindow(&cfg->ShowDebugLog);
if (cfg->ShowStackTool) if (cfg->ShowStackTool)
ShowStackToolWindow(&cfg->ShowStackTool); ShowStackToolWindow(&cfg->ShowStackTool);

6
imgui.h

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP // dear imgui, v1.88
// (headers) // (headers)
// Help: // Help:
@ -64,8 +64,8 @@ Index of this file:
// Version // Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens) // (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens)
#define IMGUI_VERSION "1.88 WIP" #define IMGUI_VERSION "1.88"
#define IMGUI_VERSION_NUM 18732 #define IMGUI_VERSION_NUM 18800
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx)) #define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
#define IMGUI_HAS_TABLE #define IMGUI_HAS_TABLE

2
imgui_demo.cpp

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP // dear imgui, v1.88
// (demo code) // (demo code)
// Help: // Help:

2
imgui_draw.cpp

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP // dear imgui, v1.88
// (drawing and font code) // (drawing and font code)
/* /*

2
imgui_internal.h

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP // dear imgui, v1.88
// (internal structures/api) // (internal structures/api)
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility! // You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!

2
imgui_tables.cpp

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP // dear imgui, v1.88
// (tables and columns code) // (tables and columns code)
/* /*

2
imgui_widgets.cpp

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP // dear imgui, v1.88
// (widgets code) // (widgets code)
/* /*

Loading…
Cancel
Save