scribam
7babc24ad4
CI: Add SDL3 builds to MacOS and Windows. ( #8819 , #8778 )
2025-07-22 16:52:20 +09:00
scribam
c96e9c8273
CI: Update Windows CI to use a more recent SDL2. ( #8819 , #8778 )
2025-07-22 16:51:20 +09:00
Tim-Rex
4a51295c9e
Backends: OpenGL3: add and call embedded loader shutdown in ImGui_ImplOpenGL3_Shutdown(). ( #8792 )
...
Include update of imgui_impl_opengl3_loader.h as submitted to gl3w_stripped repository, which adds imgl3wShutdown().
2025-07-22 16:46:35 +09:00
gomkyung2
9c392896b7
Misc: removed more redundant inline static linkage from imgui_internal.h. ( #8813 , #8682 , #8358 )
2025-07-22 16:31:10 +09:00
ocornut
ea613e181c
Windows: fixed an issue where resizable child windows would emit border logic when hidden/non-visible. ( #8815 )
...
This makes more sense in docking branch but may be merged in master right away.
2025-07-22 16:22:53 +09:00
Rhys Pounder
3401dbde92
Docs: Fixed typo. ( #8817 )
2025-07-21 15:42:16 +09:00
ocornut
8744d10235
Backends: OpenGL2, OpenGL3: set GL_UNPACK_ALIGNMENT to 1 before updating textures. ( #8802 )
2025-07-15 14:30:50 +02:00
ocornut
336d9212fc
Backends: using range-for to iterate draw_data->CmdLists[].
2025-07-11 17:41:52 +02:00
ocornut
79d88e2d0b
Error Handling, Tables: TableGetSortSpecs() silently return NULL when no table (matching most other table getters). TableSetBgColor() uses IM_ASSERT_USER_ERROR.
2025-07-11 16:57:43 +02:00
ocornut
a0d3e405a3
Textures: ImTextureData::Create() sets status. RegisterUserTexture() increases RefCount. Added comments about ImTextureData::GetTexRef(). ( #8789 )
2025-07-11 16:49:28 +02:00
ocornut
0e6e876f23
Docs: update docs/comments about ImTextureRef, ImTextureID. ( #8783 )
2025-07-10 19:07:28 +02:00
ocornut
4d745bc602
Version 1.92.2 WIP
2025-07-10 18:41:05 +02:00
ocornut
5d4126876b
Version 1.92.1
2025-07-09 18:53:58 +02:00
ocornut
0ba02a4ed6
Debug Tools: added IMGUI_DEBUG_HIGHLIGHT_ALL_ID_CONFLICTS. ( #8651 , #7961 , #7669 )
2025-07-09 18:45:58 +02:00
Pascal Thomet
ed7d965818
Examples: GLFW+OpenGL3, GLFW+WGPU: Emscripten Makefiles uses port contrib.glfw3 ( #8742 )
...
This unofficial port offers a better support for HighDPI.
See
- https://emscripten.org/docs/compiling/Contrib-Ports.html
- https://github.com/pongasoft/emscripten-glfw
2025-07-08 15:57:22 +02:00
Pascal Thomet
18dca11dd0
Backends: GLFW, SDL2: ImplXXX_GetContentScaleXXX() helpers return 1.0f on emscripten / apple / android ( #8742 , #8733 )
...
We can divide platforms into two cases based on how they report screen geometry:
- Case 1: Platforms which report screen size in "physical pixels": Windows (for "Dpi aware" apps), Linux (with Wayland)
- Case 2: Platforms which report screen size in "density-independent pixels": macOS, iOS, Android, emscripten
As a consequence, there are two important things we need to know:
- FramebufferScale: The scaling factor FrameBufferSize / ScreenSize
- In case 1, the framebuffer size is equal to the screen size and DisplayFramebufferScale=1.
- In case 2, the framebuffer size is equal to the screen size multiplied by a factor, for example DisplayFramebufferScale=2.
- ContentScale The scaling factor for the content that we will display
- In case 1, the content scale will often need to be > 1 (e.g., 2), because we will need to display bigger elements so that they show with a correct physical size on the screen.
- In case 2, the content scale is equal to 1
This commit fixes ContentScale for platforms in case 2.
2025-07-08 15:53:42 +02:00
ocornut
7c51c0e3de
Docs: misc update. ( #8727 , #8764 )
2025-07-08 11:59:32 +02:00
ocornut
c0d02e5ae4
Backends: Vulkan: forgot to update Changelog. ( #8772 )
2025-07-07 17:02:07 +02:00
ocornut
4ef1145241
Fonts: fixed dynamically changing font loader from losing Fallback and Ellipsis glyphs. ( #8763 )
...
Only the call to ImFontAtlasBuildSetupFontLoader() is the notable change. The change in ImFontAtlasFontInitOutput() is merely to use an existing helper function.
2025-07-07 16:54:08 +02:00
ocornut
57a93e1a19
Backends: Allegro5: fixed texture update broken on some platforms where ALLEGRO_LOCK_WRITEONLY needed all texels to be rewritten. ( #8770 )
2025-07-07 15:36:24 +02:00
ocornut
94c888ebda
Docs: update 1.92.0 changelogs to cover more internal fields. ( #8764 )
2025-07-07 15:27:47 +02:00
ocornut
be63037654
CI: Updated to use latest Windows image + VS2022.
...
(Untested)
2025-07-07 10:34:59 +02:00
Matthew Pohlmann
0448428322
Fonts: Change ImFontConfig::FontNo back to int from S8 ( #8775 )
...
When used with FreeType this value is passed as `face_index` which needs to be 32-bits.
# Conflicts:
# docs/CHANGELOG.txt
2025-07-05 19:25:45 +02:00
ocornut
fd75bdccb0
Fonts: for large size fonts, layout/size calculation only load glyphs metrics. Actual glyphs are renderer+packed when used by drawing functions. ( #8758 , #8465 )
...
(Breaking) breaks signature of ImFontLoader::FontBakedLoadGlyph, sorry.
2025-06-30 21:16:20 +02:00
ocornut
51b3495ad8
Fonts: set a maximum font size of 512.0f at ImGui:: API level to reduce edge cases.
2025-06-30 21:04:55 +02:00
ocornut
b7e5d76c79
Fonts: added ImFontAtlas::SetFontLoader() to dynamically change font loader at runtime without using internal API. ( #8752 , #8465 )
2025-06-30 20:01:02 +02:00
Aidan Sun
8ccfdf7ba0
CI: Fixed dllimport/dllexport tests. ( #8757 )
2025-06-30 18:48:28 +02:00
ocornut
de7625b8c2
Docs: tweak/fixed comments. ( #8750 , #8749 )
2025-06-28 17:12:05 +02:00
ocornut
bc051dcf91
Textures: Fixed support for #define ImTextureID_Invalid to non-zero value.
2025-06-27 17:03:13 +02:00
morrazzzz
fff47f1119
Backends: SDL3: avoid calling SDL_StartTextInput() again if already active. ( #8727 )
2025-06-27 16:35:59 +02:00
Thomas Quante
8e3aac5744
Backends: Vulkan: use nonCoherentAtomSize to align upload_size, fixing validation error on some setups. ( #8743 , #8744 )
2025-06-27 16:32:17 +02:00
ocornut
68046106dd
Docs: update Backends with basic Platform backend instructions.
2025-06-27 15:32:19 +02:00
ocornut
47570d045d
Docs: update Backends with direction for implementing RenderDrawData function and supporting ImGuiBackendFlags_RendererHasTextures. ( #8735 , #8465 )
2025-06-27 15:03:10 +02:00
omar
ec13fa436b
Docs: tidying up Backends.md, add index, prepare for adding more docs.
2025-06-27 13:59:51 +02:00
Christian Fillion
22ad62c90c
Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. ( #8739 )
...
Yet another undocumented standard cursor.
Amend 8a35386 .
2025-06-27 13:35:03 +02:00
ocornut
f18aea5246
Version 1.92.1 WIP
2025-06-27 13:30:45 +02:00
ocornut
85b2fe8486
Docs: update binaries.
2025-06-25 18:46:41 +02:00
ocornut
673eb7de96
Version 1.92.0
2025-06-25 18:19:56 +02:00
ocornut
2819ab32f8
Layout: commented out legacy ErrorCheckUsingSetCursorPosToExtendParentBoundaries() fallback. ( #5548 , #4510 , #3355 , #1760 , #1490 , #4152 , #150 )
2025-06-25 16:39:23 +02:00
ocornut
d8c6953710
Fonts: comments.
2025-06-25 12:10:13 +02:00
ocornut
89b5a2c3d5
(Breaking) Fonts: removed ImFontFlags_DefaultToLegacySize.
2025-06-24 19:10:10 +02:00
ocornut
97e0d59619
(Breaking) Fonts: removed PushFontSize(), PopFontSize().
2025-06-24 19:09:51 +02:00
ocornut
ca72eb0596
(Breaking) Fonts: obsolete PushFont() default parameter.
2025-06-24 19:09:28 +02:00
Geert Bleyen
04a5b9c2cf
Backends: SDL3: fixed pulling SDL_PROP_WINDOW_COCOA_WINDOW_POINTER into viewport->PlatformHandleRaw. ( #8725 , #8726 )
...
SDL_VIDEO_DRIVER_COCOA does not exist on SDL3.
2025-06-24 18:14:39 +02:00
ocornut
6722d789e9
(Breaking) Fonts: Removed support for PushFont(NULL) which was a shortcut for "default font".
2025-06-24 14:44:38 +02:00
ocornut
a49ddaac89
Fonts: add comments and examples for GlyphExcludeRanges[].
2025-06-24 11:06:41 +02:00
PlayDay
725d185a31
Backends: DirectX12: fixed build on MinGW. ( #8702 , #4594 )
2025-06-19 20:10:39 +02:00
ocornut
f633a60581
Backends: GLFW: Added support for multiple Dear ImGui contexts. ( #8676 , #8239 , #8069 )
2025-06-18 16:46:37 +02:00
ocornut
d290e583c5
Backends: GLFW: fixed WndProc relying on current context. ( #8676 , #8239 , #8069 )
...
This makes the backend closer to support multi-context.
2025-06-18 16:39:57 +02:00
ocornut
b2c73596ae
InputText: fixed a buffer overrun that could happen when using dynamically resizing buffers. ( #8689 )
2025-06-17 20:11:22 +02:00