ocornut
96839b445e
Nav: Improve handling of Alt key to toggle menu so that key ownership may be claimed on indiviudal left/right alt key without intefering with the other.
...
See test "inputs_owner_single_mod"
ago%!(EXTRA string=1 year)
ocornut
7194756370
Shortcut: fixed single mod-key Shortcut from working e.g. Shortcut(ImGuiKey_LeftCtrl)
ago%!(EXTRA string=1 year)
ocornut
8491cf36ad
Inputs: g.ActiveIdUsingManyKeys[] prevent routes from being claimed.
...
Amend fc134f5
ago%!(EXTRA string=1 year)
ocornut
9176eedf24
Internals: SetShortcutRouting() move code so next commit is easier to read. Should be no-op.
ago%!(EXTRA string=1 year)
ocornut
81e0be856a
Fixed strict-aliasing violation in FormatTextureIDForDebugDisplay(). ( #7090 , #7256 )
ago%!(EXTRA string=1 year)
ocornut
a201af7354
Added SetNextItemShortcut() wip function. ( #456 )
...
Mark widget as hovered. Amend d10641b
.
ago%!(EXTRA string=1 year)
ocornut
4c2c09450a
Nav: keyboard/gamepad activation feedback properly timed instead of frame buffer. ( #456 )
...
Amend d10641b
ago%!(EXTRA string=1 year)
ocornut
763100b385
Nav: Fixed pressing Escape while in a child window with _NavFlattened flag. ( #7237 )
ago%!(EXTRA string=1 year)
ocornut
c7edb446ca
Shortcut(): always test ownership.
...
- It doesn't sense to test route without ownership (which may be overrided by code not using routing)
- It also wouldn't be possible to call Shortcut() with _None anyway, since successful routing sets ownership.
Tangential to experiments for #7237
ago%!(EXTRA string=1 year)
ocornut
1844f903d5
Nav: space/enter poll check ownership. InputText: declare ownership of Enter key as it doesn't go through Shortcut
...
InputText: no need to call SetShortcutRouting() directly.
Tangential to experiments for #7237
ago%!(EXTRA string=1 year)
ocornut
d7c2a0e38f
Shortcut(): fixed 8323a06
adding _Repeat to all Shortcut() calls.
ago%!(EXTRA string=1 year)
ocornut
3b828d3701
Refactor: moving ItemAdd() into a section abote ItemSize(). No logic change (part 2)
...
Diff not ideal (in Fork it looks like ItemSize is moved) but understandable at a glance.
ago%!(EXTRA string=1 year)
ocornut
ff5f3aa38b
Refactor: moving ItemAdd() into a section abote ItemSize(). No logic change (part 1)
...
Moved KeepAliveID() as well for increased locality.
Adding dummy ItemAdd() placeholder to facilitate diffing (otherwise single commit single diff is a mess).
ago%!(EXTRA string=1 year)
ocornut
1a48a63446
Enclosed a few more remaining sections in ifndef IMGUI_DISABLE_DEBUG_TOOLS for completeness.
ago%!(EXTRA string=1 year)
ocornut
5fdcdf7080
Shortcut: ImGuiInputFlags_RouteFocused policy can filter Shortcuts conflicting with character input when an item is active. ( #456 )
ago%!(EXTRA string=1 year)
ocornut
80d5cb1ab1
Comments around ImGuiInputFlags.
ago%!(EXTRA string=1 year)
ocornut
80c83a4277
Docking: added ImGuiDockNodeFlags_DockedWindowsInFocusRoute to configure a dock node to automatically set ParentWindowForFocusRoute on its docked windows. ( #6798 , #2637 , #456 )
ago%!(EXTRA string=1 year)
ocornut
cceff4684a
Docking: added ImGuiWindowClass::FocusRouteParentWindowId as a public facing version of SetWindowParentWindowForFocusRoute() ( #6798 , #2637 , #456 )
ago%!(EXTRA string=1 year)
ocornut
1cc0eb4d32
Internals: Rename NavFocusScopePath to NavFocusRoute + fixed a static analyzer warning.
ago%!(EXTRA string=1 year)
ocornut
69b64e2b73
Internals: Docking: revert 32a3c61
in favor of user explicitely calling SetWindowParentWindowForFocusRoute(). ( #6798 )
...
The revert doesn't look the same as 32a3c61
as since then we are baking focus roue into NavFocusScopePath().
ago%!(EXTRA string=1 year)
ocornut
46e5f44ec8
Shortcut()/SetShortcutRouting(): use mixed current window focus scope + ParentWindowForFocusRoute. ( #6798 , #2637 , #456 )
...
Amend d474836
Begin: tweak clearing of CurrentWindow as FocusWindow() relies on it now.
Addded SetWindowParentWindowForFocusRoute() helper.
ago%!(EXTRA string=1 year)
ocornut
e0c8c80ada
Shortcut()/SetShortcutRouting(): focus route testing now use ParentWindowForFocusRoute. Automatically set on child-window, manually configurable otherwise. ( #6798 , #2637 , #456 )
ago%!(EXTRA string=1 year)
ocornut
4b20a0217e
Internals: add window to FocusScopeStack. ( #6798 )
ago%!(EXTRA string=1 year)
ocornut
2156db7a07
Debug Log: added InputRouting logging. Made GetKeyChordName() use its own buffer. Fixed debug break in SetShortcutRouting(). ( #6798 , #2637 , #456 )
ago%!(EXTRA string=1 year)
ocornut
dd0efdc637
Fixed SetKeyboardFocusHere() not working when current nav focus is in different scope. ( #7226 )
...
Amend 70f2aaff
ago%!(EXTRA string=1 year)
ocornut
8a3dfda8d0
Commented out obsolete ImGuiIO::ImeWindowHandle marked obsolete in 1.87, favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'.
...
Amend 3a90dc38
(#2589 , #2598 , #3108 , #3113 , #3653 , #4642 )
ago%!(EXTRA string=1 year)
ocornut
32a3c61d00
Internals: Shortcut() follow docking chain (until we formalize a more general focus scope stack). ( #456 )
ago%!(EXTRA string=1 year)
ocornut
29809d7220
Version 1.90.2 WIP
ago%!(EXTRA string=1 year)
ocornut
d6cb3c923d
Version 1.90.1
ago%!(EXTRA string=1 year)
ocornut
6470e2279e
Debug Tools: DebugRenderKeyboardPreview() scales better.
ago%!(EXTRA string=1 year)
ocornut
fdf8d02be1
Debug Tools: Added io.ConfigDebugIsDebuggerPresent and Debug Break buttons. ( #2673 )
ago%!(EXTRA string=1 year)
ocornut
788bb58b6b
Metrics: Tweak, reorganize tools menu.
ago%!(EXTRA string=1 year)
ocornut
a5dec42866
Debug Tools: Debug Log: Clicking any filter with SHIFT held enables it for 2 frames only. ( #5855 )
ago%!(EXTRA string=1 year)
ocornut
cf02023565
Internals, Inputs: Fix for ImGuiInputFlags_RepeatUntilXXX logic when #ifdef IMGUI_DISABLE_OBSOLETE_KEYIO is not set.
...
Amend 8323a06
. Eager to get rid of legacy IMGUI_DISABLE_OBSOLETE_KEYIO stuff: technically it's been two years, may give it another one.
ago%!(EXTRA string=1 year)
ocornut
69bf3291df
Internals, Inputs: Fix for ImGuiInputFlags_RepeatUntilXXX logic when #ifdef IMGUI_DISABLE_OBSOLETE_KEYIO is not set.
...
Amend 8323a06
. Eager to get rid of legacy IMGUI_DISABLE_OBSOLETE_KEYIO stuff: technically it's been two years, may give it another one.
ago%!(EXTRA string=1 year)
ocornut
fc2e532f99
Shortcut: do not return true on mods changes. Internals: added ImGuiInputFlags_RepeatUntilKeyModsChange, ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone, ImGuiInputFlags_RepeatUntilOtherKeyPress. ( #456 , #2637 )
...
Took a while to come to this design, but it is flexible and lightweight and allow all decision to be taken a polling location. All three policies are useful.
ago%!(EXTRA string=1 year)
ocornut
8323a06e6d
Inputs: passing ImGuiInputFlags_RepeatXXX options automatically adds ImGuiInputFlags_Repeat.
...
Will make extra sense with next commit where we add ImGuiInputFlags_RepeatUntil options.
ago%!(EXTRA string=1 year)
ocornut
58261dbe9a
Internals: alter ImGuiInputFlags values to leave room + indent.
ago%!(EXTRA string=1 year)
ocornut
7f9533b840
ColorPicker: Fixed saturation/value cursor radius not scaling properly.
...
+ Misc docs/comments.
ago%!(EXTRA string=1 year)
ocornut
278cf1a7bc
Readme: updated binaries. ( #7193 )
...
+ removed two now unnecessary casts.
ago%!(EXTRA string=1 year)
ocornut
a1b06823fe
Windows: BeginChild(): Resize borders rendered even when ImGuiWindowFlags_NoBackground is specified. ( #1710 , #7194 )
ago%!(EXTRA string=1 year)
ocornut
33d18c580b
Misc: During shutdown, check that io.BackendPlatformUserData and io.BackendRendererUserData are NULL. ( #7175 )
ago%!(EXTRA string=1 year)
ocornut
718fa0eec6
Happy new year!
ago%!(EXTRA string=1 year)
David Maas
2523c197bc
Fixed title bar background alpha being used to render viewport-owned windows. ( #7184 , #7181 )
ago%!(EXTRA string=1 year)
ocornut
f039e69b9c
Settings: Fixed an issue marking settings as dirty when merely clicking on a border or resize grip without moving it.
ago%!(EXTRA string=1 year)
ocornut
8340a30d27
Debug: move debug assertion in post-clip code to reduce overhead. ( #4796 and more).
...
Amend c80179921
ago%!(EXTRA string=1 year)
ocornut
1e1013085b
Debug Tools: Debug Log: Hide its own clipper log to reduce noise in the output.
ago%!(EXTRA string=1 year)
ocornut
0bd6489721
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: fixed multi-components width in tight space ( #7120 , #7121 )
...
+ extra tweak color ColorEdit4() label. Amend 86512ea
, 3464662
ago%!(EXTRA string=1 year)
ocornut
0000739c08
Internals: Fixed function name typo.
ago%!(EXTRA string=1 year)
ocornut
b4c5a83cfe
Commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. ( #2625 , #7143 )
ago%!(EXTRA string=1 year)