ocornut
00ad3c65bc
Version 1.90.7
5 months ago
ocornut
f814ef816f
Commented out CaptureKeyboardFromApp(), CaptureMouseFromApp(). Commented out obsolete IsKeyPressedMap() from imgui_internal.h (can call IsKeyPressed). Comments
5 months ago
Christian Fillion
b9084949bd
Fixed typo in IsMouseDragging and GetMouseDragDelta's documentation. ( #7620 )
6 months ago
ocornut
86931393a3
Shortcuts: Revert "SetShortcutRouting: require explicit routing. ( #456 )
This reverts commit a689fa262a
.
6 months ago
ocornut
7832e6a70e
Shortcuts: Routing: fixed mixed keys<>chars filtering not applying on global routes. ( #456 , #7618 )
6 months ago
ocornut
85d982011e
Shortcuts: fixed priority of route calculation (higher first). ( #456 , #7618 )
6 months ago
ocornut
ce4e210dcb
Shotcuts: renamed ImGuiInputFlags_RouteGlobalOverFocused -> ImGuiInputFlags_RouteOverFocused, ImGuiInputFlags_RouteGlobalOverActive -> ImGuiInputFlags_RouteOverActive in previsiion of using them with a Hovered route. ( #456 )
6 months ago
ocornut
5ce3d29955
Shortcuts: rename ImGuiInputFlags_RouteGlobalHighest to ImGuiInputFlags_RouteGlobalOverActive, made ImGuiInputFlags_RouteGlobalOverFocused and ImGuiInputFlags_RouteGlobalOverActive flags. ( #456 )
6 months ago
ocornut
650cb51bf1
Shortcuts: renamed ImGuiInputFlags_RouteActiveItem to ImGuiInputFlags_RouteActive. ( #456 , #7618 )
Amend ef9d525
6 months ago
ocornut
ef9d525f02
Shortcuts: added ImGuiInputFlags_RouteActiveItem. ( #456 , #7618 ) + rearrange Changelog
6 months ago
ocornut
16b72f2d21
Comments
6 months ago
ocornut
29439bdd27
Windows: BeginChild(): fixed auto-fit calculation when using either (not both) ResizeX/ResizeY and double-clicking on a border. ( #1710 )
Calculation incorrectly didn't always account for scrollbar as it assumed the other axis would also be auto-fit.
6 months ago
ocornut
374b9a7fb4
Demo: Documents: refactor + add Renaming option. ( #7233 )
6 months ago
ocornut
c150ad50c4
Shortcuts: claim mods ownership once pressed. ( #456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
1002cfa6d2
Demo, Shortcut(): amend Shortcuts demo. ( #456 )
6 months ago
ocornut
7c71e66370
Shortcuts, SetShortcutRouting: move ImGuiInputFlags_RouteFromRootWindow evaluation to SetShortcutRouting() for now. ( #456 )
6 months ago
ocornut
d5a600e9c6
Shortcuts, SetShortcutRouting: added ImGuiInputFlags_RouteFromRootWindow. Made it possible for SetShortcutRouting() to query for another location.
6 months ago
ocornut
0eb025f484
Internals: move ItemHandleShortcut() next to Shortcut(), it's calling it anyhow. ( #456 )
6 months ago
ocornut
a689fa262a
SetShortcutRouting: require explicit routing. ( #456 )
6 months ago
ocornut
c06e6340cd
Shortcuts: added ImGuiInputFlags_Tooltip. ( #456 )
6 months ago
ocornut
77e4171894
Shortcuts: added flags to SetNextItemShortcut(). ( #456 )
6 months ago
ocornut
197f8904fe
Shortcuts, Nav: make SetNextItemShortcut() work when another item is active. Made NavCalcPreferredRefPos() take account for remote activation. ( #456 )
Unsure why filter in ItemHandleShortcut(), will probably find out soon enough.
6 months ago
ocornut
dc5caa483c
Demo: added "Shortcuts" section. ( #456 , #2637 )
2 years ago
ocornut
fc512a2474
Inputs: Added Shortcut(), SetNextItemShortcut(). Added ImGuiInputFlags, ImGuiInputFlags_RouteXXXX. ( #456 , #2637 )
6 months ago
ocornut
85513de247
Internals, Inputs: *Breaking* Swapped parameter order of owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(). ( #456 )
For several reasons those changes makes sense. They are being made because making some of those API public.
Only past users of imgui_internal.h with the extra parameters will be affected.
Added asserts for valid flags in various functions to detect _some_ misuses, BUT NOT ALL.
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
900b29055c
Internals, Inputs: *Breaking* Swapped parameter order of Shortcut(). ( #456 )
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
55748cdbe1
Internals, Inputs: *Breaking* Renamed ImGuiKeyOwner_None to ImGuiKeyOwner_NoOwner: avoid confusion with non zero value, makes IsKeyPressed() calls using ImGuiKeyOwner_NoOwner more explicit.
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
ec1d2be96f
Examples: Win32+DX9,DX10,DX11,DX12: rework main loop to handle minimization and screen locking. ( #2496 , #3907 , #6308 , #7615 )
6 months ago
ocornut
6d1a6f1c74
Internals, Inputs: Comments, alignment.
6 months ago
Michal Šlesár
4c3eac2c10
Backends: OpenGL3: Fixed zealous warning by initializing last_pixel_unpack_buffer. ( #7614 )
6 months ago
ocornut
a1566c5e1b
Tables: fixed 28a283b
breaking PageDown on tables with no interactive items.
6 months ago
ocornut
aa725ca79d
Inputs: moving ImGuiInputFlags_RouteAlways into ImGuiInputFlags_RouteTypeMask_
6 months ago
ocornut
cd48059dc5
Tables: comments about skipping access to table data in coarse clipping path.
6 months ago
ocornut
28a283b460
Windows: BeginChild(), Tables:fixed visibility of fully clipped child windows and tables to Test Engine.
6 months ago
Eugene Sandulenko
aa5a6098ee
Fixed typos in comments ( #7599 )
6 months ago
ocornut
d39ca33b63
Fixed false positive with PVS-Studio.
Amend ae8218a
.
6 months ago
ocornut
ae8218a3ea
Inputs, Shortcut: fixes some edge cases for GetKeyChordName(), clarify that it is aimed at display. ( #456 )
Rename IsNamedKeyOrModKey() to IsNamedKeyOrMod() for consistency.
Fixed GetKeyName(ImGuiKey_None) from returning "N/A" or "None" depending on IMGUI_DISABLE_OBSOLETE_KEYIO.
See "inputs_keychord_name" in imgui_test_suite.
6 months ago
ocornut
25e279ee73
Inputs: Treat ctrl-left-click as right click when ConfigMacOSXBehaviors is set. ( #2343 )
6 months ago
ocornut
b4f564c1ed
Internals: Shortcuts: *Breaking* : rename ImGuiInputFlags_RouteGlobalLow -> ImGuiInputFlags_RouteGlobal, ImGuiInputFlags_RouteGlobal -> ImGuiInputFlags_RouteGlobalOverFocused, ImGuiInputFlags_RouteGlobalHigh -> ImGuiInputFlags_RouteGlobalHighest ( #456 )
6 months ago
ocornut
5107e58b0f
Inputs: amend changelog and clarify how the swap might be a breaking change for a minority of users. ( #2343 )
6 months ago
ocornut
8bd5d1d42f
Inputs: Fixed swapping of keys associated to mods. Fixed warnings. ( #2343 , #4084 , #5923 , #456 )
Amend 7747106
.
6 months ago
ocornut
7747106647
Inputs: swap Ctrl and Cmd on macOS X, remove ImGuiMod_Shortcut. ( #2343 , #4084 , #5923 , #456 )
6 months ago
Hubert Maier
07dbcf1f70
Fixed typos. ( #7593 )
6 months ago
ocornut
93daf23223
Examples: SDL3: updates for latest SDL3 API changes.
6 months ago
kuvaus
e45efa9951
Backends: SDL3: Rename SDLK_QUOTE and SDLK_BACKQUOTE to SDLK_APOSTROPHE and SDLK_GRAVE. ( #7580 )
6 months ago
ocornut
5d973a87d4
Backends: SDL_Renderer2/SDL_Renderer3: and ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter.
6 months ago
Erin M
af2fbf043d
Backends/Internals: Don't use IME and clipboard default win32 functions when WINAPI_FAMILY_GAMES ( #7585 )
6 months ago
ocornut
e4576914cb
Internals: amend f806c76
to better match docking + fixed unused static forward declaration warning.
6 months ago
ocornut
d0524df887
Internals: slight refactor FindHoveredWindow() -> FindHoveredWindowEx() toward reducing far-away code duplication.
6 months ago
ocornut
f806c76e97
Tables, Dpi: added dummy g.DpiScale storage (to be altered in docking), using to scale tables border hit thickness.
+ Added note about how equivalent resize padding for windows (sourced from WINDOWS_HOVER_PADDING) would need further rework.
6 months ago