v1.90.3
版本发布时间: 2024-02-14 21:55:41
ocornut/imgui最新发布版本:v1.91.3(2024-10-04 21:48:34)
1.90.3: Menu sizing fix and backends work
Reading the changelog is a good way to keep up to date with the things Dear ImGui has to offer, and maybe will give you ideas of some features that you've been ignoring until now!
📣 Click version number above to display full release note contents, otherwise it is clipped by GitHub!
Links: Homepage - Release notes - FAQ - Issues, Q&A Also see our Wiki with sections such as Getting Started and Useful Extensions Gallery! 👌
Dear ImGui is funded by your contributions and needs them to sustain and grow. We can invoice and accommodate to many situations. If your company uses Dear ImGui, please reach out. See Sponsors page.
Changes
This is a small amend to v1.90.2. In particular, the fix to sizing of child menus seemed important enough to warrant a hot-fix. In 1.90.1 and 1.90.2, child menus with lots of contents wouldn't get clamped to parent viewport boundaries and therefore wouldn't show a scrollbar.
Breaking Changes:
- Backends: SDL2: Removed obsolete
ImGui_ImplSDL2_NewFrame(SDL_Window*)
signature which was obsoleted in 1.84. Calling ImGui_ImplSDL2_NewFrame() without parameter is fine. - Backends: Vulkan: Moved RenderPass parameter from
ImGui_ImplVulkan_Init()
function toImGui_ImplVulkan_InitInfo
structure. Not required when using dynamic rendering. (#7308) [@shawnhatori] - Backends: Vulkan: Using dynamic rendering now require filling the
PipelineRenderingCreateInfo
structure inImGui_ImplVulkan_InitInfo
, allowing to configure color/depth/stencil formats. RemovedColorAttachmentFormat
field previously provided for dynamic rendering. (#7166, #6855, #5446, #5037) [@shawnhatori]
Other Changes:
- Menus, Popups: Fixed menus and popups with ChildWindow flag erroneously not displaying a scrollbar when contents is over parent viewport size. (#7287, #7063) [@ZingBallyhoo]
- Backends: SDL2, SDL3: Handle gamepad disconnection + fixed increasing gamepad reference counter continuously. Added support for multiple simultaneous gamepads. Added
ImGui_ImplSDL2_SetGamepadMode()
function to select whether to automatically pick first available gamepad, all gamepads, or specific gamepads. (#3884, #6559, #6890, #7180) [@ocornut, @lethal-guitar, @wn2000, @bog-dan-ro] - Backends: SDL3: Fixed gamepad handling. (#7180) [@bog-dan-ro]
- Backends: SDLRenderer3: query newly added
SDL_RenderViewportSet()
to not restore a wrong viewport if none was initially set. - Backends: DirectX9: Using RGBA format when allowed by the driver to avoid CPU side conversion. (#6575) [@Demonese]
- Internals: Fixed ImFileOpen not working before context is created, preventing creation of a font atlas before main context creation. (#7314, #7315) [@PathogenDavid, @ocornut]
Also see previous releases details. Note that GitHub are now clamping release notes sometimes really badly, click on a header/title to read full notes.
Dear ImGui is funded by your contributions and needs them to sustain and grow. We can invoice and accommodate to many situations. If your company uses Dear ImGui, please reach out (omar AT dearimgui DOT com). See Sponsors page.