Misc: made ImGuiDir, ImGuiSortDirection, ImGuiMouseCursor stronger-typed enums + cater for possible warning in backends's switch()

Not making ImGuiMouseCursor one because of warnings for non-explicitly handled value (case default: is not enough).
This commit is contained in:
ocornut
2024-05-28 18:09:41 +02:00
parent 5cbc34a10c
commit 51823d117d
5 changed files with 23 additions and 20 deletions
+1
View File
@@ -47,6 +47,7 @@ Other changes:
responsible for honoring io.ConfigWindowsMoveFromTitleBarOnly. (#7576, #899)
- Scrollbar: made scrolling logic more standard: clicking above or below the
grab scrolls by one page, holding mouse button repeats scrolling. (#7328, #150)
- Misc: made ImGuiDir and ImGuiSortDirection stronger-typed enums.
-----------------------------------------------------------------------