774ddb58bd
Fixed IsItemHovered() failing on disabled items and items that have no identifier. Made holding on disabled items not leak IsItemDisabled() between disabled items when window has _NoMove. (#8877, #8883)
ocornut2025-08-13 17:06:05 +02:00
4dee11a089
Make ImGuiInputSource int.
ocornut2025-08-13 17:01:57 +02:00
5a6fa33b88
Fixed an inconsistency between IsItemHovered() and internal hovering check, where IsItemHovered() would return true if mouse was first clicked on the background of a non-moveable window. (#8877)
ocornut2025-08-11 15:36:54 +02:00
8239a0e0c4
Nav, Tables: fix NavIsScrollPushableX logic clamping value stored in NavApplyItemToResult(), which would break scrolling. (#8816, #2221)
ocornut2025-08-11 15:17:02 +02:00
50115596dc
Demo: About Box: include IMGUI_ENABLE_TEST_ENGINE in Config/Build info.
ocornut2025-08-11 12:29:13 +02:00
1c57dc21c2
Misc: fixes zealous MSVC static analyzer warnings + make GetInputSourceName(), GetMouseSourceName() a little more tolerant. (#8876)
ocornut2025-08-11 11:01:13 +02:00
47c41483bd
Tables, Nav: fixed navigation within scrolling tables when item boundaries goes beyond columns limits. (#8816, #2221)
ocornut2025-08-11 10:47:55 +02:00
ea075ed973
ImVector: skip memcpy in operator= if Data isn't initialized to play nice with -fsanitize=undefined. (#8874)
Ianandocornut2025-08-10 14:10:42 -04:00
b6614f6c7c
Backends: SDL_GPU3: removed ImGui_ImplSDLGPU3_Texture struct extraneous indirection now that we only need to store SDL_GPUTexture*. (#8866, #8163, #7998, #7988, #8465)
ocornut2025-08-08 15:48:40 +02:00
9ee3d731b5
Backends: SDL_GPU3: changed ImTextureID type from SDL_GPUTextureSamplerBinding* to SDL_GPUTexture*. Added ImGui_ImplSDLGPU3_RenderState. (#8866, #8163, #7998, #7988)
ocornut2025-08-08 15:25:19 +02:00
ff2dfc8422
Fonts: fixed a crash when modifying different texture format with a legacy backend. (#8824)
Elliot Priorandocornut2025-07-22 18:21:43 +01:00
7e701c18c8
Fonts: fixed an issue when a font using MergeMode has a reference size specified but the target font doesn't.
ocornut2025-08-04 18:21:38 +09:00
90025a62c7
Backends: Vulkan: Avoid calling vkCmdBindDescriptorSets() when texture has not changed. (#8666)
Michael Böhmeandocornut2025-06-06 16:27:57 +02:00
70cfc02811
Examples: SDL3+SDL_GPU: use SDL_WaitAndAcquireGPUSwapchainTexture() instead of SDL_AcquireGPUSwapchainTexture(). (#8830)
o:toneandocornut2025-07-23 12:36:34 +02:00
250bd66b76
Tabs: fixed ImGuiTabBarFlags_FittingPolicyScroll not triggering (regression in 3ef6c84). (#3421, #8800)
ocornut2025-08-04 15:19:16 +09:00
c14d83d4e0
Tabs: made scrolling buttons never keyboard/gamepad navigation candidates.
ocornut2025-08-04 15:12:23 +09:00
7d5fef8642
Nav: fixed a bug where GamepadMenu couldn't toggle between main and menu layer while navigating a Modal window. (#8834)
ocornut2025-08-04 15:06:14 +09:00
a0cdac48e0
Tables: fixed TableGetHoveredRow() (#7350, #6588, #6250) + TableGetRowIndex() which never correctly worked when using a clipper.
ocornut2025-07-31 13:16:51 +09:00
ea613e181c
Windows: fixed an issue where resizable child windows would emit border logic when hidden/non-visible. (#8815)
ocornut2025-07-22 16:22:53 +09:00
ed5bd1f9ef
Changed ImTextCharToUtf8() to return bytes count rather than original pointer. (#8820)
ocornut2025-07-22 14:06:44 +09:00
c9e0208de4
Textures: moved UpdateTexturesNewFrame(), UpdateTexturesEndFrame() to a more suitable location in the file.
ocornut2025-07-21 15:35:53 +09:00
57a816ae60
Texutres: minor comments, tweaks.
ocornut2025-07-21 15:27:17 +09:00
643f0e3abf
Backends: OpenGL3: restore update path on non-WebGL non-ES targets that doesn't require a CPU copy. (#8802, #8465)
ocornut2025-07-15 14:34:04 +02:00
8744d10235
Backends: OpenGL2, OpenGL3: set GL_UNPACK_ALIGNMENT to 1 before updating textures. (#8802)
ocornut2025-07-15 14:30:50 +02:00
336d9212fc
Backends: using range-for to iterate draw_data->CmdLists[].
ocornut2025-07-11 17:41:52 +02:00
79d88e2d0b
Error Handling, Tables: TableGetSortSpecs() silently return NULL when no table (matching most other table getters). TableSetBgColor() uses IM_ASSERT_USER_ERROR.
ocornut2025-07-11 16:57:43 +02:00
d9b758661f
Misc comments to facilitate update for people who nilly-willy copied entire chunks of internal widgets to create their own.
ocornut2025-07-09 15:05:10 +02:00
4ef1145241
Fonts: fixed dynamically changing font loader from losing Fallback and Ellipsis glyphs. (#8763)
ocornut2025-07-07 16:50:50 +02:00
57a93e1a19
Backends: Allegro5: fixed texture update broken on some platforms where ALLEGRO_LOCK_WRITEONLY needed all texels to be rewritten. (#8770)
ocornut2025-07-07 15:36:24 +02:00
94c888ebda
Docs: update 1.92.0 changelogs to cover more internal fields. (#8764)
ocornut2025-07-07 15:27:47 +02:00
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)
ocornut2025-06-30 21:16:20 +02:00
51b3495ad8
Fonts: set a maximum font size of 512.0f at ImGui:: API level to reduce edge cases.
ocornut2025-06-30 20:59:08 +02:00
b7e5d76c79
Fonts: added ImFontAtlas::SetFontLoader() to dynamically change font loader at runtime without using internal API. (#8752, #8465)
ocornut2025-06-30 20:01:02 +02:00