77e4171894
Shortcuts: added flags to SetNextItemShortcut(). (#456)
ocornut2024-05-23 16:12:58 +02:00
197f8904fe
Shortcuts, Nav: make SetNextItemShortcut() work when another item is active. Made NavCalcPreferredRefPos() take account for remote activation. (#456)
ocornut2024-05-23 16:09:32 +02:00
85513de247
Internals, Inputs: *Breaking* Swapped parameter order of owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(). (#456)
ocornut2024-05-22 14:21:53 +02:00
900b29055c
Internals, Inputs: *Breaking* Swapped parameter order of Shortcut(). (#456)
ocornut2024-05-22 13:59:07 +02:00
55748cdbe1
Internals, Inputs: *Breaking* Renamed ImGuiKeyOwner_None to ImGuiKeyOwner_NoOwner: avoid confusion with non zero value, makes IsKeyPressed() calls using ImGuiKeyOwner_NoOwner more explicit.
ocornut2024-05-22 11:56:58 +02:00
ec1d2be96f
Examples: Win32+DX9,DX10,DX11,DX12: rework main loop to handle minimization and screen locking. (#2496, #3907, #6308, #7615)
ocornut2024-05-23 15:15:42 +02:00
d39ca33b63
Fixed false positive with PVS-Studio.
ocornut2024-05-17 17:13:43 +02:00
ae8218a3ea
Inputs, Shortcut: fixes some edge cases for GetKeyChordName(), clarify that it is aimed at display. (#456)
ocornut2024-05-17 17:03:00 +02:00
25e279ee73
Inputs: Treat ctrl-left-click as right click when ConfigMacOSXBehaviors is set. (#2343)
ocornut2024-05-17 15:24:11 +02:00
5107e58b0f
Inputs: amend changelog and clarify how the swap might be a breaking change for a minority of users. (#2343)
ocornut2024-05-16 19:56:29 +02:00
93daf23223
Examples: SDL3: updates for latest SDL3 API changes.
ocornut2024-05-15 14:18:48 +02:00
e45efa9951
Backends: SDL3: Rename SDLK_QUOTE and SDLK_BACKQUOTE to SDLK_APOSTROPHE and SDLK_GRAVE. (#7580)
kuvausandocornut2024-05-14 04:44:48 +03:00
5d973a87d4
Backends: SDL_Renderer2/SDL_Renderer3: and ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter.
ocornut2024-05-14 19:10:31 +02:00
af2fbf043d
Backends/Internals: Don't use IME and clipboard default win32 functions when WINAPI_FAMILY_GAMES (#7585)
Erin MandGitHub2024-05-15 11:42:56 +02:00
e4576914cb
Internals: amend f806c76 to better match docking + fixed unused static forward declaration warning.
ocornut2024-05-14 16:17:13 +02:00
f806c76e97
Tables, Dpi: added dummy g.DpiScale storage (to be altered in docking), using to scale tables border hit thickness.
ocornut2024-05-14 14:34:52 +02:00
d06b8b58d8
Nav: fixed holding Ctrl or gamepad L1 from not slowing down keyboard/gamepad tweak speed.
ocornut2024-05-13 15:25:11 +02:00
5e23680454
Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. (#7568)
ocornut2024-05-13 15:07:13 +02:00
510eb8f480
Tables: fixed cell background of fully clipped row overlapping with header. (#7575, #7041)
prabuandocornut2024-05-11 18:26:45 +05:30
0d483a1c89
Backends: OpenGL3: Update loader for Linux to support EGL/GLVND. (#7562)
ocornut2024-05-07 18:23:29 +02:00
92df32d339
Backends: OpenGL3: minor update of generated loader to match latest downloaded glcorearb.h/khrplatform.h files.
ocornut2024-05-07 17:46:36 +02:00
1ab1af80c7
Backends: Win32: Facepalm revert part of d15574c + additional commentary (#6275)
ocornut2024-05-07 17:03:05 +02:00
d15574ce2a
Backends: Win32: Removed silent return when calling ImGui_ImplWin32_WndProcHandler() with no active context! (#6275)
ocornut2024-05-07 16:53:03 +02:00
0c9c12c1bb
InnerClipRect use ImFloor() matching docking branch (fix c41868531 for #6861, #2884, followed by rename 94da5842)
ocornut2024-05-03 15:51:49 +02:00
4bb7567141
Tables: Angled headers: fixed multi-line label display when angle is flipped. (#6917)
ocornut2024-05-02 13:49:26 +02:00
b30df8890d
Table: Angled Headers: internal refactor to facilitate changing angled header bg and text colors per column. (#6917)
ocornut2024-04-30 17:39:52 +02:00
558c57a086
Fixed static analyzer warning "Pointer to local array 'overlay_buf' is stored outside the scope". Technically not used outside that scope, but best to play nice.
ocornut2024-04-30 11:00:57 +02:00
50b2ff0bf0
ImGuiIO: moved IMGUI_DISABLE_OBSOLETE_KEYIO block lower in the structure so other fields layout are not affected by it (#7534)
ocornut2024-04-30 10:23:03 +02:00
6ef4f67fa9
ImDrawList: moved cold fields lower in the structure so hot fields are closer to each others + better packed ImGuiNavItemData
ocornut2024-04-30 10:00:46 +02:00
da18fcb7ae
Internals: ensure ButtonBehavior() is called with non 0 id.
ocornut2024-04-23 18:39:40 +02:00
b720c0f541
Backends: Vulkan: Added convenience support for Volk via IMGUI_IMPL_VULKAN_USE_VOLK define. (#6582, #4854)
ocornut2024-04-19 15:16:54 +02:00
07e8ff9a8d
Backends: Win32: Fixed a warning + moved header cruft below Changelog.
ocornut2024-04-18 21:26:49 +02:00
fa0120ea5e
Windows: Fixed subsequent Begin() append calls from setting last item information for title-bar. (#7506, #823)
ocornut2024-04-18 21:10:05 +02:00
361432a0bb
TreeNode: fixed layout so that TreeNode("") or TreeNode("##HiddenLabel") may properly be used with SameLine(0,0). (#7505, #282)
ocornut2024-04-18 19:08:58 +02:00
eba46cb0d2
Drag and Drop: assert when nesting BeginDragDropSource() and BeginDragDropTarget() (#7504) + update Gallery links
ocornut2024-04-17 18:00:55 +02:00
9ec299ebe3
Backends: OpenGL: Detect ES3 contexts on desktop based on version string, (#7447)
ocornut2024-04-16 16:17:48 +02:00
76bc1b825e
Extracted part of NewFrame() into SetupDrawListSharedData() for documentation purpose. (#7495, #6406)
ocornut2024-04-15 11:24:43 +02:00
f790d51665
Silent zealous/stupid warning introduced by Clang 16 (shipping with VS2022) with -Weverything. Pointers are now illegal!
ocornut2024-04-12 16:55:32 +02:00
e7712ff103
Out of courtesy/consistency move all the DebugHookIdInfo compares into ifndef block.
ocornut2024-04-03 10:50:32 +09:00
f959c417fe
Refactor moving ID stack functions to their own section (part 2)
ocornut2024-04-03 10:47:15 +09:00
0bf134a8e2
Refactor moving ID stack functions to their own section.
ocornut2024-04-03 10:42:57 +09:00
9a2b598ec1
ListBox: Fixed text-baseline offset when using SameLine()+Text() after a labeled ListBox().
ocornut2024-04-03 10:18:49 +09:00
d3c3514a59
Tables: Fixed auto-width columns when using synced-instances of same table. (#7218)
ocornut2024-03-29 19:39:05 +09:00
25a492f330
ProgressBar: Fixed passing fraction==NaN from leading to a crash. (#7451)
ocornut2024-03-29 19:09:55 +09:00
9638c2839a
Internals: adding ImGuiNavMoveFlags_NoClearActiveId even though there's currently no satisfying way to take advantage of it. (#1418)
ocornut2024-03-27 12:00:50 +09:00
742e53434f
Child Windows: adjust resizing limits to match window padding rather than inner clipping rectangle. (#7440)
ocornut2024-03-27 11:36:57 +09:00
515b437c08
Child windows: look at the parent window's flags to decide whether to clamp child resizes. (#7440, #1710)
cfillionandocornut2024-03-25 13:31:46 -04:00
976dc23965
Windows: extend outer resize borders to the edges when there are no corner grips. (#7440, #1710)
cfillionandocornut2024-03-25 10:02:40 -04:00
f0802287db
Tables: Angled headers: fixed table contents overflowing when a list clipper is used. (#7416)
cfillionandocornut2024-03-18 02:45:38 -04:00
29ff159f94
Tables: Angled headers: fixed borders not moving back up after TableAngleHeadersRow stops being called. (#7416)
cfillionandocornut2024-03-18 02:10:46 -04:00
3c435c0297
Inputs: (Breaking) More formally obsoleted GetKeyIndex() when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is set. (#4921)
ocornut2024-03-08 12:12:21 +01:00