46e5f44ec8
Shortcut()/SetShortcutRouting(): use mixed current window focus scope + ParentWindowForFocusRoute. (#6798, #2637, #456)
ocornut2024-01-15 16:56:29 +01:00
e0c8c80ada
Shortcut()/SetShortcutRouting(): focus route testing now use ParentWindowForFocusRoute. Automatically set on child-window, manually configurable otherwise. (#6798, #2637, #456)
ocornut2024-01-15 14:18:10 +01:00
4b20a0217e
Internals: add window to FocusScopeStack. (#6798)
ocornut2024-01-15 11:44:21 +01:00
2156db7a07
Debug Log: added InputRouting logging. Made GetKeyChordName() use its own buffer. Fixed debug break in SetShortcutRouting(). (#6798, #2637, #456)
ocornut2024-01-15 15:57:14 +01:00
dd0efdc637
Fixed SetKeyboardFocusHere() not working when current nav focus is in different scope. (#7226)
ocornut2024-01-15 17:31:44 +01:00
8a3dfda8d0
Commented out obsolete ImGuiIO::ImeWindowHandle marked obsolete in 1.87, favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'.
ocornut2024-01-15 11:20:13 +01:00
6228c2e1ec
Backends: Vulkan: moved ImGui_ImplVulkanH_DestroyFrameRenderBuffers/ImGui_ImplVulkanH_DestroyWindowRenderBuffers as they are always used in a state where backend data is available.
ocornut2024-01-11 20:22:37 +01:00
70bb6d1e79
Backends: Vulkan: Fixed vkMapMemory() calls unnecessarily using full buffer size. (#3957)
ocornut2024-01-11 14:57:38 +01:00
a5dec42866
Debug Tools: Debug Log: Clicking any filter with SHIFT held enables it for 2 frames only. (#5855)
ocornut2024-01-10 12:56:16 +01:00
a3eea8a75a
Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" and variants, fixing regression on distros missing a symlink. (#6983)
ocornut2024-01-09 23:26:05 +01:00
69bf3291df
Internals, Inputs: Fix for ImGuiInputFlags_RepeatUntilXXX logic when #ifdef IMGUI_DISABLE_OBSOLETE_KEYIO is not set.
ocornut2024-01-09 23:04:57 +01:00
af00b182e3
Examples: SDL3: Minor fixes following changes to API (SDL_WindowFlags -> Uint32).
ocornut2024-01-09 16:04:48 +01:00
fc2e532f99
Shortcut: do not return true on mods changes. Internals: added ImGuiInputFlags_RepeatUntilKeyModsChange, ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone, ImGuiInputFlags_RepeatUntilOtherKeyPress. (#456, #2637)
ocornut2024-01-09 15:54:00 +01:00
6f10cef2a1
Backends: Vulkan: moved structure declarations.
ocornut2024-01-03 16:17:39 +01:00
33d18c580b
Misc: During shutdown, check that io.BackendPlatformUserData and io.BackendRendererUserData are NULL. (#7175)
ocornut2024-01-03 14:56:21 +01:00
0ea99132c8
Backends: Vulkan: Stop creating command pools with VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT as we don't reset them.
ocornut2024-01-03 14:11:40 +01:00
4778560e66
Backends: Vulkan: Added MinAllocationSize field in ImGui_ImplVulkan_InitInfo to workaround zealous validation layer. (#7189, #4238)
Tristan Gougeandocornut2024-01-02 17:06:21 +01:00
e8dd47effa
Backends: WebGPU: Fixing an issue when opening a popup in the wgpu backend (#7191)
Axel Parisandocornut2024-01-03 11:25:19 +01:00
240ab5890b
Backends: GLFW, Input: Use Unicode version of WndProc for get correct input for text in utf-8 code page. (#7174)
kida22andocornut2023-12-28 04:17:28 +00:00
4a2426449a
Drags, Sliders, Inputs: removed all attempts to filter non-numerical characters during text editing. (#6810, #7096)
ocornut2023-12-22 19:51:49 +01:00
f039e69b9c
Settings: Fixed an issue marking settings as dirty when merely clicking on a border or resize grip without moving it.
ocornut2023-12-21 14:08:27 +01:00
8340a30d27
Debug: move debug assertion in post-clip code to reduce overhead. (#4796 and more).
ocornut2023-12-20 16:06:59 +01:00
1e1013085b
Debug Tools: Debug Log: Hide its own clipper log to reduce noise in the output.
ocornut2023-12-20 15:46:26 +01:00
036a6c875e
ColorEdit4: Further tweaks for very small sizes. (#7120, #7121)
ocornut2023-12-20 11:06:22 +01:00
0bd6489721
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: fixed multi-components width in tight space (#7120, #7121)
ocornut2023-12-19 20:50:17 +01:00
0000739c08
Internals: Fixed function name typo.
ocornut2023-12-19 20:32:09 +01:00
6cfe3ddf52
InputTextMultiline: Tabbing through a multi-line text editor using ImGuiInputTextFlags_AllowTabInput doesn't activate it. (#3092, #5759, #787)
ocornut2023-12-14 17:02:23 +01:00
4afffa36e9
InputTextMultiline: Fixed Tab character input not repeating
ocornut2023-12-14 16:31:08 +01:00
f6836ff37f
Misc: Rework debug display of texture id in Metrics window (amend) (#7090)
ocornut2023-12-12 18:24:30 +01:00
07dbd46ddd
Misc: Rework debug display of texture id in Metrics window to avoid compile-error when ImTextureID is defined to be larger than 64-bits. (#7090)
ocornut2023-12-12 18:18:52 +01:00
34646627aa
ColorEdit4: improve components width computation to better distribute the error (#7120) (#7123)
NahorandGitHub2023-12-12 02:07:01 -08:00
86512eac06
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: improve multi-components width computation to better distribute the error. (#7120, #7121)
Nahorandocornut2023-12-11 14:01:22 -08:00
03298fe875
Windows: Fixed some auto-resizing path using style.WindowMinSize.x (instead of x/y). (#7106)
ocornut2023-12-10 12:53:20 +01:00
9d8de45313
Image(): comment and minor refactor to resurface the fact that a border size may be added. (#2118)
ocornut2023-12-07 16:07:37 +01:00
5366bd09bf
Scrolling: internal scrolling value is rounded instead of truncated. (#6677)
ocornut2023-12-07 15:46:49 +01:00
c58d2c89c3
Tabs: Added ImGuiTabItemFlags_NoAssumedClosure to enable app to react on closure attempt. (#7084)
ocornut2023-12-07 14:20:30 +01:00
1fade35159
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: Fixed incorrect pushes into ItemWidth stack when number of components is 1. [#7095]
ocornut2023-12-07 14:01:53 +01:00
58ca5f6424
Shortcut(): clearer early out in SetShortcutRouting() -> CalcRoutingScore() path.
ocornut2023-12-06 16:15:11 +01:00
0b77980cab
Moved Tables API related declarations to their own section in imgui.h
ocornut2023-12-05 18:04:33 +01:00
aaf157cfdd
Commented out ImGuiFreeType::BuildFontAtlas() obsoleted in 1.81. Commented out legacy ImGuiColumnsFlags_XXX symbols redirecting to ImGuiOldColumnsFlags_XXX, obsoleted in 1.80.
ocornut2023-12-05 17:04:19 +01:00
52886872f1
Misc: Added IMGUI_USER_H_FILENAME to change the path included when using IMGUI_INCLUDE_IMGUI_USER_H. (#7039)
Bryce Bergerandocornut2023-11-20 12:22:56 -05:00
5768de79e2
InputText, ColorEdit, ColorPicker: better support for undocumented ImGuiItemFlags_ReadOnly flag. (#7079, #211)
ocornut2023-12-01 13:57:28 +01:00
2ee40d3cf9
Menus: Tweaked hover slack logic, adding a timer to avoid situations where a slow vertical movements toward another parent BeginMenu() can keep the wrong child menu open. (#6671, #6926)
ocornut2023-11-29 16:46:21 +01:00
b4b864e40a
Backends: Vulkan: Fixed mismatching allocator passed to vkCreateCommandPool() vs vkDestroyCommandPool(). (#7075)
ocornut2023-11-29 14:24:25 +01:00
d2b0167610
Fixed link error when using IMGUI_DISABLE_DEBUG_TOOLS
ocornut2023-11-29 14:09:39 +01:00
7965494ff3
Debug Tools: Added DebugFlashStyleColor() to identify a style color. Added to Style Editor.
ocornut2023-11-28 19:33:19 +01:00
077e4db772
Misc: Added extra courtesy ==/!= operators when IMGUI_DEFINE_MATH_OPERATORS is defined.
ocornut2023-11-28 15:00:32 +01:00
6f171a066d
Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are not overrided back to true when navigation is enabled. (#6997)
ocornut2023-11-28 14:28:19 +01:00