Renamed ImGuiKeyModFlags to ImGuiModFlags (Breaking but technically never advertised type)

This commit is contained in:
ocornut
2022-04-05 15:42:19 +02:00
parent a472e8834b
commit 2c03aac6d3
5 changed files with 41 additions and 33 deletions

View File

@ -37,6 +37,9 @@ HOW TO UPDATE?
Breaking changes:
- Renamed ImGuiKeyModFlags to ImGuiModFlags. Kept inline redirection enums (will obsolete).
(This was never used in public API functions but technically present in imgui.h and ImGuiIO).
Other Changes:
- IO: Fixed backward-compatibility regression introduced in 1.87: (#4921, #4858)
@ -340,7 +343,7 @@ If you are stuck on ancient compiler you may need to stay at this version onward
Breaking Changes:
- Removed GetWindowContentRegionWidth() function. keep inline redirection helper.
- Removed GetWindowContentRegionWidth() function. Keep inline redirection helper.
Can use 'GetWindowContentRegionMax().x - GetWindowContentRegionMin().x' instead but it's not
very useful in practice, and the only use of it in the demo was illfit.
Using 'GetContentRegionAvail().x' is generally a better choice.