imgui v1.75 Release Notes

Release Date: 2020-02-17 // about 4 years ago
  • Reading the full 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!

    TL;DR;

    • ๐Ÿ‘ [JVM], completed the moving to full mirror native imgui support in terms of UTF8 and (double) Char
    • ๐Ÿ›  Dozens of fixes, e.g. for Ctrl+Tab, InputText, ColorEdit, in backends etc. among other things.
    • โž• Added DrawList::addNgon apis for explicit low-polygon count, in prevision for future version making all circles actually round. DrawList::addCircle apis can now takes a zero segment count to use auto-tesselation.
    • [JVM only] double click on a word in text selects only that world, up to the next space included. Native selects still everything

    ๐Ÿ’ฅ Breaking Changes

    • โœ‚ Removed implicit default parameter to IsMouseDragging(int button = 0) to be consistent with other mouse functions (none of the other functions have it).
    • DrawList::addCircle()/addCircleFilled() functions don't accept negative radius.
    • ๐Ÿ‘ Limiting columns()/beginColumns() api to 64 columns with an assert. While the current code technically supports it, future code may not so we're putting the restriction ahead.
    • ๐Ÿ”„ changed Rect() default constructor initializes all fields to 0f instead of Float.MAX_VALUE. If you used Rect::add() to create bounding boxes by adding multiple points into it without an explicit initialization, you may need to fix your initial value.

    Other Changes

    • ๐Ÿ†“ Inputs: Added MouseButton enum for convenience (e.g. MouseButton.Right.i=1). We forever guarantee that the existing value will not changes so existing code is free to use 0/1/2.
    • ๐Ÿ›  Nav: Fixed a bug where the initial CTRL-Tab press while in a child window sometimes selected the current root window instead of always selecting the previous root window. (#787)
    • ColorEdit: Fix label alignment when using ColorEditFlags.NoInputs. (#2955) [@rokups]
    • ๐Ÿ”’ ColorEdit: In HSV display of a RGB stored value, attempt to locally preserve Saturation when Value==0.0 (similar to changes done in 1.73 for Hue). Removed Hue editing lock since those improvements in 1.73 makes them unnecessary. (#2722, #2770). [@rokups]
    • ColorEdit: "Copy As" context-menu tool shows hex values with a '#' prefix instead of '0x'.
    • ColorEdit: "Copy As" content-menu tool shows hex values both with/without alpha when available.
    • โช InputText: Fix corruption or crash when executing undo after clearing input with ESC, as a byproduct we are allowing to later undo the revert with a CTRL+Z. (#3008).
    • MenuBar: Fix minor clipping issue where occasionally a menu text can overlap the right-most border.
    • Window: Fix setNextWindowBgAlpha(1f) failing to override alpha component. (#3007) [@Albog]
    • โœ… Window: When testing for the presence of the WindowFlags.NoBringToFrontOnFocus flag we test both the focused/clicked window (which could be a child window) and the root window.
    • ๐Ÿ’… DrawList: addCircle(), addCircleFilled() API can now auto-tessellate when provided a segment count of zero. Alter tessellation quality with style.CircleSegmentMaxError. [@ShironekoBen]
    • DrawList: Add addNgon(), addNgonFilled() API with a guarantee on the explicit segment count. In the current branch they are essentially the same as addCircle(), addCircleFilled() but as we will rework the circle rendering functions to use textures and automatic segment count selection, those new api can fill a gap. [@ShironekoBen]
    • Columns: DrawList::channels* functions now work inside columns. Added extra comments to suggest using user-owned DrawListSplitter instead of DrawList functions. [@rokups]
    • Misc: Added MouseCursor.NotAllowed enum so it can be used by more shared widgets. [@rokups]
    • ๐Ÿ‘ Backends: GLFW: (started) adding support for the missing mouse cursors newly added in GLFW 3.4+. [@rokups]
      [JVM] transition will be complete with the next lwjgl stable version

    Help wanted!

    • ๐Ÿ“š [JVM] Documentation is terrible outdated, we need help to update it
    • ๐Ÿ“š Dear ImGui is looking for a technical writer to help writing technical articles, tutorials and documentation. Please reach out if you are interesting in helping!.
    • ๐Ÿ‘€ The Vulkan renderer appears to have issues (see vulkan tag)
      Browsing issues and todo list you may find something something to contribute to!