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
8c61ee5498
Tables: fixed comments about DisableDefaultContextMenu. ( #8746 )
2025-06-29 18:05:28 +02:00
ocornut
d99ab9f903
Backends: SDL2: undef Status for X11. ( #8751 )
2025-06-28 17:15:18 +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
ocornut
0fe5166531
Demo: amend "Font Size" demo. ( #8738 )
2025-06-27 16:54:31 +02:00
Demonese
9fbe560218
Demo: Added "Widgets/Text/Different Size Text" section to show font system changes in v1.92. ( #8738 )
2025-06-27 16:54:31 +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
Ves Georgiev
5ee9c2ad1f
Demo: Fixed font scaling warning if ImGuiBackendFlags_RendererHasTextures is set ( #8736 )
2025-06-27 01:06:42 +02:00
Aidan Sun
4f4bc7cc8f
Replace IMGUI_API with inline for PushTextureID() and PopTextureID() ( #8729 )
2025-06-26 09:46:54 +02:00
ocornut
85b2fe8486
Docs: update binaries.
v1.92.0
2025-06-25 18:46:41 +02:00
ocornut
673eb7de96
Version 1.92.0
2025-06-25 18:19:56 +02:00
ocornut
da3c86925a
Demo: added TextLinkOpenURL() call in Widgets section.
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
6f21bed66d
Fonts: removing assert from legacy PushFont() to mirror new PushFont(). for consistency.
2025-06-25 16:23:06 +02:00
ocornut
719a3fe98e
Additional comments on ErrorCheckUsingSetCursorPosToExtendParentBoundaries(). ( #5548 )
2025-06-25 16:06:18 +02:00
ocornut
5bc70c68e2
Fonts: fix PushFont(NULL) to work as advertised.
...
Didn't properly finish ca72eb0 .
2025-06-25 15:55:25 +02:00
ocornut
dcf14505e2
Backends: SDLGPU: fixes call to SDL_MapGPUTransferBuffer(). Fixes artifacts on OSX/Metal. ( #8465 , #8703 )
2025-06-25 15:48:56 +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
776897d3c9
Fonts: fixed PVS Studio false positive "expression 'cmd_count != draw_list->CmdBuffer.Size' is always false." ( #8720 , #8465 )
...
Amend 608dd96
2025-06-24 15:24:09 +02:00
ocornut
0218ddd575
Fonts: moved GetFont(), GetFontSize(), GetFontBaked() to higher section.
2025-06-24 15:00:42 +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
6e846c56b4
Demo: fixed ID conflicts. ( #8723 )
2025-06-24 12:25:04 +02:00
ocornut
608dd96de6
Fonts: fixed RenderText() asserting when crossing VtxOffset change boundaries. ( #8720 , #8465 )
2025-06-24 12:21:07 +02:00
ocornut
a49ddaac89
Fonts: add comments and examples for GlyphExcludeRanges[].
2025-06-24 11:06:41 +02:00
ocornut
613a6a964c
Fonts: AddFontDefault() adds to GlyphOffset.y instead of overriding it.
2025-06-24 10:27:24 +02:00
ocornut
0dc2885f3e
InputText: fix for InsertChars() to work on read-only buffer. ( #8714 , #8689 , #8242 )
...
Ill defined feature but memory editor use InsertChars etc on a read-only buffer.
`if (init_state)` block of InputTextEx() intentionally does not resize TextA, as unneeded.
Amend b2c73596ae
Amend e900571
2025-06-22 13:04:51 +02:00
ocornut
afe20dc9b6
Backends: warning fix.
2025-06-20 15:23:52 +02:00
ocornut
e97e55adbc
Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends.
...
dx12: 'ImGui_ImplDX12_Data* bd' shadowed local in spite of being in lambda.
2025-06-20 15:18:00 +02:00
ocornut
2f9c518ca8
Textures: ImTextureData::GetPixels() returns void* for clarity.
2025-06-20 15:17:13 +02:00
ocornut
9a50c09172
Bsckends: SDL2, GLFW: fixed ImGui_ImplXXXX_GetContentScaleXXX functions never using SDL 2.0.4 & GLFW 3.3 path in master.
...
Amend 9da3e6696a , 8269924c (was broken for master)
2025-06-20 14:38:33 +02:00
ocornut
3a964d18e0
Comments on ImGuiMod_XXXX and ImGuiKey_GamepadXXXX values.
2025-06-20 10:11:07 +02:00
ocornut
8d6e66d38c
Backends: DX10, DX11, DX12, OpenGL3, Vulkan, WGPU: Assert when CreateDeviceObjects() calls return false.
2025-06-20 09:49:53 +02:00
ocornut
f7dabede8b
Backends: Allegro5: Fixed missing invisible mouse cursor, broken by ee8941e0d.
2025-06-20 09:49:53 +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