Repository navigation
Dear ImGui v1.93.1 π§
β Reading the changelog is a good way to keep up to date with whaat Dear ImGui has to offer, and will give you ideas of some features that you've been ignoring until now!
π£ If you are browsing multiple releases: click version number above to display full release note contents, otherwise it is badly clipped by GitHub!
Links: Homepage - Release notes - FAQ - Issues, Q&A. Also see our Wiki with sections such as..
- Getting Started (~25 lines in an existing app)
- Useful Extensions/Widgets
- Software using Dear ImGui
- Language Bindings & Engine Backends
- and more! π
Dear ImGui is funded by your contributions and absolutely needs them to sustain and grow. We can invoice and accommodate to many situations. If your company uses Dear ImGui, please reach out. See Funding page. Did you know? If you need an excuse to pay, you may buy licenses for Test Engine and buy hours of support (and cough not use them all) and that will contribute to fund Dear ImGui.
β€οΈ Thanks to sponsors β€οΈ
- BeamNG / G3Dvu / OTOY / Riot Games / Scorewarrior / Supercell / Asobo Studio / Artifex Mundi / ID Software / Lucid Games / Mobigame / Passtech Games / Planestate Software / River End Games / RocketWerkz / SCS Software / Sofistik / Thatgamecompany / Tuxedo Labs / Valve / Vector Unit / Yacht Club Gamesπ
As well as various paid/corporate licenses to imgui_test_engine supporting the project.
Changes in v1.93.1 (since v1.93.0)
This is a general maintenance release.
π v1.93.0 has a much reworked ImDrawList system.
π v1.92.8 has a signature change for the trailing optional parameters of ImDrawList::AddRect(), AddPolyline(), PathStroke(). C++ users should be notified at compile-time, but languages without type-checking may only be notified at runtime. Read v1.92.8 if using non a C++ language. Consider enabling IMGUI_DISABLE_OBSOLETE_FUNCTIONS from time to time to get rid of obsolete calls.
Breaking Changes
Autumn cleanup of stuff marked obsolete more than two years ago:
- Commented out legacy names/functions which were obsoleted in 1.90.7 (May 2024);
ImGuiMod_Shortcut-->ImGuiMod_Ctrl(since 1.90.7 it maps to Cmd on macOS)
- Commented out legacy names/functions which were obsoleted in 1.90.9 (July 2024);
ImGuiCol_TabActive-->ImGuiCol_TabSelectedImGuiCol_TabUnfocused-->ImGuiCol_TabDimmedImGuiCol_TabUnfocusedActive-->ImGuiCol_TabDimmedSelected
- Commented out legacy names/functions which were obsoleted in 1.91.0 (July 2024);
ImGuiSelectableFlags_DontClosePopups-->ImGuiSelectableFlags_NoAutoClosePopupsPushButtonRepeat(bool repeat)-->PushItemFlag(ImGuiItemFlags_ButtonRepeat, repeat)PopButtonRepeat()-->PopItemFlag()PushTabStop(bool tab_stop)-->PushItemFlag(ImGuiItemFlags_NoTabStop, !tab_stop);PopTabStop()-->PopItemFlag()
- Commented out legacy names/functions which were obsoleted in 1.91.1 (Sept 2024);
io.GetClipboardTextFn-->platform_io.Platform_GetClipboardTextFnio.SetClipboardTextFn-->platform_io.Platform_SetClipboardTextFnio.ClipboardUserData-->platform_io.Platform_ClipboardUserData
- Please also try to get rid of calls to
GetContentRegionMax(),GetWindowContentRegionMin()andGetWindowContentRegionMax()will may be removed soon-ish: you should not ever need those functions. See #7838.
Other Changes
Style:
StyleColorsDark(): tweaked WindowBg, PopupBg, ChildBg to be darker than in 1.93.0.- Added
style.SymbolArrowSizeFactor,style.SymbolArrowThicknessFactorto tweak the shape and look of arrows. Made default arrow stroked. (#5233, #2431, #2235, #6730, #8243)( Legacy arrow: size: (0.60f,0.70f), thickness: 0.0f, New arrow: size: (0.72f,0.40f), thickness: 0.30f)
Windows:
- Using
SetNextWindowPos()with a pivot while a window is hidden and measuring size will still apply temporary position until size is figured out. (#9568)
TreeNode:
- TreeNodeGetOpen(): added flags parameter to allow passing
ImGuiTreeNodeFlags_DefaultOpenorImGuiTreeNodeFlags_Leaf. (#9569, #9592, #3823, #9251) [@adalisk-emikhaylov, @Yaki-Blake] - CollapsingHeader(): avoid extending frame boundaries by
WindowPadding.x*0.5fon each side: it is inconsistent and tends to exhibits issues in various setups (that extension has been here since 1.42). (#9181, #6170) - Fixed combining
ImGuiTreeNodeFlags_FramedandImGuiTreeNodeFlags_SpanLabelWidth.
Popups:
- Modals: fixed an assert displaying a modal in an environment where
io.DisplayFramebufferScaleis not an integer (regression in 1.93.0). (#9598)
Tables:
- Added "Reset->Reset Sizes" context-menu option. (#9523, #9605)
- Fixed various border overshooting issues, some mostly visible with transparent borders and under specific conditions: (#4678)
- On non-scrolling tables, inner horizontal borders slightly overlapped outer vertical ones with certain settings.
- On non-scrolling tables, clamping lower border coordinates to stay within visible range (no visible change, but it makes ImDrawCmd AABB more sensible).
- Fixed vertical inner borders slightly overlapping bottom outer border.
- Fixed various issues using
ImGuiTableFlags_NoHostExtendX/_NoHostExtendY:- Fixed selectable highlight straying off the X2/Y2 clipping limit.
- Fixed parent window work rectangle affecting the Y2 clipping limit.
- Fixed the Y2 clipping limit overlapping bottom outer border.
- Fixed layout of items submitted while in horizontal layout mode (e.g. a menu bar).
BeginTable()resets layout mode to vertical. (#9589) [@themd]
Multi-Select:
- Fixed
ImGuiSelectionBasicStorage::GetNextSelectedItem()reading one past the end of storage when trailing items are unselected (#9604) [@MilosLord]
Drags:
- Fixed handling of
ImGuiSliderFlags_WrapAround: value could temporarily escape the range when dragging fast. (#9612, #9611, #7749) [@swayie, @ocornut]
Checkbox:
- Indeterminate/mixed value inner rectangle never has rounding, to reduce confusion with a radio button. (#5518, #5677, #6865, #2644)
ColorEdit:
- ColorButton, ColorEdit, ColorPicker: fixed an issue rendering colors when inside a
BeginDisabled(false)block, caused by the alpha cancelling-out code in 1.93.0. (#9511, #9613, #9614) [@tksuoran]
Fonts:
- Detect if the parameters leading
AddFontDefault()to implicitly select eitherAddFontDefaultBitmap()orAddFontDefaultVector()have changed between init time and first frame. (#9591)
Misc:
- Added
IsItemDisabled()convenience helper. (#9127, #9636, #4675) (same asGetItemFlags() & ImGuiItemFlags_Disabled). - ImVec2: added a check for cases where a custom
IM_VEC2_CLASS_EXTRAmacro adds an extraoperator=to ImVec2. This isn't supported but should not be needed as you should have a constructor to convert from your type to ImVec2. - Updated stb_textedit 1.14->1.15.
- InputText: Up/PageUp on the first line now moves the cursor to the beginning of the line, including when extending a selection. [@blackedout01]
- Updated stb_truetype 1.26->1.27.
- Fonts: fixed incorrect glyph mapping with certain character maps, loading fonts with only a Microsoft Symbol character map, and rendering scaled composite glyphs.
- Fixed an out-of-bounds read with single-point off-curve contours.
- Updated stb_rect_pack 1.01->1.02.
- Fixed packing determinism by not depending on
qsort()tiebreak.
- Fixed packing determinism by not depending on
- CI: added some ARM64 builds. (#9593) [@Harishmcw]
Examples:
- Added support for ARM64 in selected build_win.bat helpers. (#9593) [@Harishmcw]
- WGPU: using C++20 to build WGPU examples as Dawn require it.
- Win32+DirectX12: minor fixes facilitate recreating device. (#9633, #9632) [@grzybr1]
- Renamed various helper batch files from
build_win32.battobuild_win.batto reflect that they can also build X64 or ARM64, given the right environment. Made the script detect the environment when needed (e.g. to specify library path). - Backends:
- DirectX9: pre-transforming vertices and using
D3DFVF_XYZRHWvertex format, largely increasing performances when inD3DCREATE_SOFTWARE_VERTEXPROCESSINGmode. (#9628) - DirectX12: avoid infinite waits when the device is lost. (#9632, #9633) [@grzybr1]
- GLFW: allow initialization with missing HWND. (#9619) [@djohansson]
- GLFW, SDL2: Emscripten implementation of
Platform_OpenInShellFncallswindow.open()withnoopener: prevents newly opened tab from keeping a reference to opening page. (#9615, #7660, #7851) [@pthom] - SDL2: on iOS, also restore calling
SDL_StartTextInput()/SDL_StopTextInput()in IME handler. Match Android change in 1.93.0. [@pthom] (#7636, #9474, #9617) - Metal4: worked around rendering artifacts (e.g. flickering diagonal lines) with 16-bit indices by aligning each draw command index buffer address to 4 bytes.
- Metal4: fixed vertex/index buffers being reused by a later draw in the same frame before the GPU had processed them. (#9622, #9625) [@lailoken]
- Metal4: remove the residency set from the command queue on shutdown to avoid hitting Metal's residency set limit when reinitializing on the same queue.
- Vulkan: don't transition swapchain images from
VK_IMAGE_LAYOUT_UNDEFINEDtoVK_IMAGE_LAYOUT_PRESENT_SRC_KHRon window creation, prevent validation errors in examples and multi-viewport support. (#9553, #9496, #9152) [@sarpsenturk, @LewisJustin]
- DirectX9: pre-transforming vertices and using
Changes from 1.93.0 to 1.93.1 specific to the Docking+Multi-Viewports branch:
git tag: v1.93.1-docking
Docking+Viewports Branch:
Viewports:
- Fixed an issue where in some code paths, a newly created modal in its own viewport would be created with
ImGuiViewportFlags_NoFocusOnAppearing. - Fixed a crash related to toggling visibility of different windows in a dock hierarchy hosted by a secondary viewport. (#9631) [@fabrisdnl, @ocornut]
Backends:
- SDL2, SDL3: on macOS: fixed stuck down keys/buttons when they were held while thee focused viewport gets destroyed (Regression on macOS in 1.91.1) (#9121, #7853)
- Win32: make windows appear with
::SetWindowPos()w/SWP_NOOWNERZORDERinstead of unparenting +ShowWindow(). Fixes missing taskbar icon for newly appearing windows that are parented and useImGuiViewportFlags_NoFocusOnAppearing. (#7354, #8669) - Metal, Metal4: present secondary viewport windows without vsync by default, matching other backends. Added
ImGui_ImplMetal_SetDisplaySyncEnabled(). (#9501, #9608) [@lailoken] - Metal4: fixed various multi-viewport related issues:
- reuse the draw's projection matrix on render-state reset.
- use each secondary viewport's render pass to select its pipeline.
- make secondary viewport drawable resources resident before rendering.
- fixed
ImGui_ImplMetal4_NewFrame()waiting forever when using more than one frame in flight, once a secondary viewport has been rendered. (#9621, #9624) [@lailoken]
Gallery
@pthom: RichMd (Rich Markdown) is a new Markdown rendering library for Dear ImGui. Details: #9484 (comment)
Try it in your browser: https://pthom.github.io/imgui_rich_md/
richmd_short.mp4
Call of Duty: Modern Warfare 4's Ward Engine technical video shows some tooling:
https://www.youtube.com/watch?v=VVSw3qgy3Nc
@pgarba: immc β a keyboard-driven dual-pane file manager
https://github.com/pgarba/immc


@MortezaAghazamani: " I'd like to share a widget I built on top of Dear ImGui. It's a bidi-aware InputText widget. ImGui's built-in InputText doesn't handle bidirectional text, cursor/selection in RTL, or Arabic/Persian shaping β so I implemented the full Unicode Bidirectional Algorithm (UAX#9) in a dependency-free C++17 library (passes all 91,707 tests of the official BidiCharacterTest.txt) and wrapped it in an ImGui widget."
https://github.com/MortezaAghazamani/bidi

usdtweak is a free and open source editor for OpenUSD.
https://github.com/cpichard/usdtweak
usdtweak-ui-27e06445bd2675cc5b848c5e0c0179e7.mp4
RadiiU an internet radio client homebrew app for the Wii U (and Linux)
https://github.com/dkosmari/RadiiU
It uses a fork of ImGui with patches for handling touch screen interactions, like drag scrolling.
Project home page: https://github.com/dkosmari/RadiiU

@fxcstudio: "FXCanvas renders beat-synced GLSL shaders and sends them out over NDI, Spout/Syphon, projectors, SDI, and pixel-mapped DMX to lighting rigs. It syncs to tap tempo, Ableton Link, MIDI clock, audio, or Pioneer CDJs. The whole interface is Dear ImGui 1.92.5 (docking branch), running on openFrameworks through ofxImGui with GLFW and OpenGL 3."


@pthom: "A demo centered around medical imaging. I created it in order to present it at a medical tech conference last week in Paris."


Try it in your browser (Python, running locally with Pyodide; the code is beside it):
https://imgui-bundle.pages.dev/playground/?demo=explorables%2Fmedical_imaging%2Fmedical_imaging.py
@Keksls: Fugui, a Dear ImGui framework for Unity 6 (URP): https://github.com/Keksls/fugui
"We use Dear ImGui as the drawing and layout layer for complete applications inside Unity, not only debug tools. Fugui adds docking with saved layouts, camera views inside windows, world-space and VR panels, windows that can be dragged out to another monitor, themes, a nodal editor, charts and table views, and touch input on Android and iOS."

"Dragonfly is the real-time 3D viewer used at Airbus Defence and Space for satellite, aircraft and helicopter projects. Its entire interface is Fugui: scene tree, inspectors with live parameters, materials library, displacement, alignment and explode tools, galactic rendering controls, metadata, replay and recording, a guided features tour, docked around the 3D view with performance and quality modes."

@AmelieHeinrich: "Made a little chess training app. All done using ImGui, windowing with SFML"
https://github.com/Moonscorched-Productions/Chess

...More in gallery threads.
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 absolutely needs them to sustain and grow. We can invoice and accommodate to many situations. If your company uses Dear ImGui, please reach out. See Funding page. Did you know? If you need an excuse to pay, you may buy licenses for Test Engine and buy hours of support (and cough not use them all) and that will contribute to fund Dear ImGui.