9fbe560218
Demo: Added "Widgets/Text/Different Size Text" section to show font system changes in v1.92. (#8738)
Demoneseandocornut2025-06-27 10:33:25 +08:00
fff47f1119
Backends: SDL3: avoid calling SDL_StartTextInput() again if already active. (#8727)
morrazzzzandocornut2025-06-24 23:30:38 +03:00
8e3aac5744
Backends: Vulkan: use nonCoherentAtomSize to align upload_size, fixing validation error on some setups. (#8743, #8744)
Thomas Quanteandocornut2025-06-27 15:52:39 +02:00
47570d045d
Docs: update Backends with direction for implementing RenderDrawData function and supporting ImGuiBackendFlags_RendererHasTextures. (#8735, #8465)
ocornut2025-06-27 14:51:13 +02:00
ec13fa436b
Docs: tidying up Backends.md, add index, prepare for adding more docs.
omarandGitHub2025-06-27 13:59:51 +02:00
22ad62c90c
Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. (#8739)
Christian Fillionandocornut2025-06-26 22:43:41 -04:00
c56e8b4964
imgui_freetype: fixed NULL that creeped in instead of nullptr.
ocornut2025-06-18 15:31:00 +02:00
b2c73596ae
InputText: fixed a buffer overrun that could happen when using dynamically resizing buffers. (#8689)
ocornut2025-06-17 20:11:22 +02:00
12626b85c4
InputText: minor changes to match for both insert chars paths to look more similar.
ocornut2025-06-17 19:24:10 +02:00
08bb348142
Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358)
ocornut2025-06-17 14:52:34 +02:00
041abe8522
Revert "Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl]"
ocornut2025-06-17 14:57:39 +02:00
39a90ac4d6
Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl]
ocornut2025-06-17 14:52:34 +02:00
f2e4e80391
Windows: BeginChild(): fixed being unable to combine manual resize on one axis and automatic resize on the other axis. (#8690)
ocornut2025-06-17 14:01:01 +02:00
fe048efeab
DrawList, Fonts: fixed PushFont()/AddImage() not restoring correct atlas texture id when using multiple atlas (#8694)
ocornut2025-06-17 11:56:43 +02:00
24f7328e5f
DrawList, Fonts: fixed ImFontAtlasTextureRepack() overwriting draw list shared data UV's etc. even when not bound. (#8694, #8465)
ocornut2025-06-17 11:55:40 +02:00
cfa43e721a
Windows: clicking on a window close button doesn't claim focus and bring to front. (#8683)
ocornut2025-06-13 17:40:17 +02:00
d8da97f756
Fonts: UpdateCurrentFontSize() early out doesn't need to clear FontBaked.
ocornut2025-06-13 16:47:23 +02:00
ca3169310e
Fonts: fixed FontBaked=NULL in initial call to SetCurrentWindow() in Begin() using previous frame value of SkipItems. (#8465)
ocornut2025-06-13 16:43:58 +02:00
41f4acfb4f
Fonts: add has_textures parameters to ImFontAtlasUpdateNewFrame().
ocornut2025-06-12 11:44:11 +02:00
1ce75e2bca
Fixed duplicate symbols in some compile-time configurations.
ocornut2025-06-12 11:25:15 +02:00
f6fc166584
TreeNode: fixed runtime asan warning (#2920)
ocornut2025-06-12 11:07:08 +02:00
a0b3eceec7
Fixed using IMGUI_DISABLE_DEMO_WINDOWS without IMGUI_DISABLE_DEBUG_TOOLS and without linking with imgui_demo.cpp
ocornut2025-06-12 11:02:32 +02:00
7a42233d43
imgui_freetype: fixed using legacy names.
ocornut2025-06-11 20:47:17 +02:00
e1481a731d
Fonts: fixed NewFrame() when atlas builder has been created but fonts not added. Fixed GetCustomRect() after atlas clear.
ocornut2025-06-11 13:20:17 +02:00
29fbf3c1ec
Fonts: demote ImFont::GetFontBaked() as slighty internal.
ocornut2025-06-10 18:09:44 +02:00
0e769c5418
Fonts: amend UpdateCurentFontSize() early out optimization.
ocornut2025-06-10 17:56:09 +02:00
2e67bd4de7
Fonts: rename to ImFontAtlasBuildLegacyPreloadAllGlyphRanges().
ocornut2025-06-06 18:07:27 +02:00
c18301f356
Examples: remove explicit font sizes from AddFontXXX() calls. Add commented out style.FontSizeBase assignment.
ocornut2025-06-06 16:36:58 +02:00
02f58b3207
Fonts: AddFont() functions now allow size_pixels==0.0f (only required when using certain functions)
ocornut2025-06-06 16:33:02 +02:00
bc394410a2
Examples: Win32+DX9/DX10/DX11/DX12, SDL2+DX11/OpenGL2/OpenGL3/SDLRenderer/Vulkan, SDL3+OpenGL/SDLGPU/SDLRenderer/Vulkan: made example DPI aware by default. (master + docking: partial support for multi-dpi by scaling fonts + viewports but not style)
ocornut2025-06-02 15:32:54 +02:00
b98e92839c
Backends: SDL2, SDL3, GLFW: Backport small part of c90ea13 from docking.
ocornut2025-06-11 16:17:54 +02:00
1e118ab891
Fonts: added ImGuiStyle::FontSizeBase. Ensuring PushFontSize() works before main loop and across NewFrame().
ocornut2025-05-26 20:24:06 +02:00
b029be6b6c
Fonts: avoid calling GetFontBaked() during SetFontSize(). Also fixes loading extraneous baked on atlas that will be locked
ocornut2025-05-26 18:55:55 +02:00
033cdc4133
Fonts: comments and slight packing of ImFontConfig fields.
ocornut2025-05-26 15:08:54 +02:00