ocornut
06ce312745
InputText: Internal: added reload from user-buf feature. ( #2890 )
Very highly requested feature (#6962 , #5219 , #3290 , #4627 , #5054 , #3878 , #2881 , #1506 , #1216 , #968 ).
Also useful for interactive completion/selection popups (#2057 , #718 )
Based on @kudaba PR. Design for Inputtext V2 should make this obsolete.
9 months ago
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"
10 months ago
ocornut
7194756370
Shortcut: fixed single mod-key Shortcut from working e.g. Shortcut(ImGuiKey_LeftCtrl)
10 months ago
ocornut
8491cf36ad
Inputs: g.ActiveIdUsingManyKeys[] prevent routes from being claimed.
Amend fc134f5
10 months ago
ocornut
9176eedf24
Internals: SetShortcutRouting() move code so next commit is easier to read. Should be no-op.
10 months ago
ocornut
81e0be856a
Fixed strict-aliasing violation in FormatTextureIDForDebugDisplay(). ( #7090 , #7256 )
10 months ago
ocornut
a201af7354
Added SetNextItemShortcut() wip function. ( #456 )
Mark widget as hovered. Amend d10641b
.
10 months ago
ocornut
4c2c09450a
Nav: keyboard/gamepad activation feedback properly timed instead of frame buffer. ( #456 )
Amend d10641b
10 months ago
ocornut
763100b385
Nav: Fixed pressing Escape while in a child window with _NavFlattened flag. ( #7237 )
10 months ago
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
10 months ago
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
10 months ago
ocornut
d7c2a0e38f
Shortcut(): fixed 8323a06
adding _Repeat to all Shortcut() calls.
10 months ago
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.
10 months ago
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).
10 months ago
ocornut
1a48a63446
Enclosed a few more remaining sections in ifndef IMGUI_DISABLE_DEBUG_TOOLS for completeness.
10 months ago
ocornut
5fdcdf7080
Shortcut: ImGuiInputFlags_RouteFocused policy can filter Shortcuts conflicting with character input when an item is active. ( #456 )
10 months ago
ocornut
80d5cb1ab1
Comments around ImGuiInputFlags.
10 months ago
ocornut
1cc0eb4d32
Internals: Rename NavFocusScopePath to NavFocusRoute + fixed a static analyzer warning.
10 months ago
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.
10 months ago
ocornut
e0c8c80ada
Shortcut()/SetShortcutRouting(): focus route testing now use ParentWindowForFocusRoute. Automatically set on child-window, manually configurable otherwise. ( #6798 , #2637 , #456 )
10 months ago
ocornut
4b20a0217e
Internals: add window to FocusScopeStack. ( #6798 )
10 months ago
ocornut
2156db7a07
Debug Log: added InputRouting logging. Made GetKeyChordName() use its own buffer. Fixed debug break in SetShortcutRouting(). ( #6798 , #2637 , #456 )
10 months ago
ocornut
dd0efdc637
Fixed SetKeyboardFocusHere() not working when current nav focus is in different scope. ( #7226 )
Amend 70f2aaff
10 months ago
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 )
10 months ago
ocornut
29809d7220
Version 1.90.2 WIP
10 months ago
ocornut
d6cb3c923d
Version 1.90.1
10 months ago
ocornut
6470e2279e
Debug Tools: DebugRenderKeyboardPreview() scales better.
10 months ago
ocornut
fdf8d02be1
Debug Tools: Added io.ConfigDebugIsDebuggerPresent and Debug Break buttons. ( #2673 )
10 months ago
ocornut
788bb58b6b
Metrics: Tweak, reorganize tools menu.
10 months ago
ocornut
a5dec42866
Debug Tools: Debug Log: Clicking any filter with SHIFT held enables it for 2 frames only. ( #5855 )
10 months ago
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.
10 months ago
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.
10 months ago
ocornut
8323a06e6d
Inputs: passing ImGuiInputFlags_RepeatXXX options automatically adds ImGuiInputFlags_Repeat.
Will make extra sense with next commit where we add ImGuiInputFlags_RepeatUntil options.
10 months ago
ocornut
58261dbe9a
Internals: alter ImGuiInputFlags values to leave room + indent.
10 months ago
ocornut
7f9533b840
ColorPicker: Fixed saturation/value cursor radius not scaling properly.
+ Misc docs/comments.
10 months ago
ocornut
278cf1a7bc
Readme: updated binaries. ( #7193 )
+ removed two now unnecessary casts.
10 months ago
ocornut
a1b06823fe
Windows: BeginChild(): Resize borders rendered even when ImGuiWindowFlags_NoBackground is specified. ( #1710 , #7194 )
10 months ago
ocornut
33d18c580b
Misc: During shutdown, check that io.BackendPlatformUserData and io.BackendRendererUserData are NULL. ( #7175 )
10 months ago
ocornut
718fa0eec6
Happy new year!
10 months ago
ocornut
f039e69b9c
Settings: Fixed an issue marking settings as dirty when merely clicking on a border or resize grip without moving it.
11 months ago
ocornut
8340a30d27
Debug: move debug assertion in post-clip code to reduce overhead. ( #4796 and more).
Amend c80179921
11 months ago
ocornut
1e1013085b
Debug Tools: Debug Log: Hide its own clipper log to reduce noise in the output.
11 months ago
ocornut
0bd6489721
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: fixed multi-components width in tight space ( #7120 , #7121 )
+ extra tweak color ColorEdit4() label. Amend 86512ea
, 3464662
11 months ago
ocornut
0000739c08
Internals: Fixed function name typo.
11 months ago
ocornut
b4c5a83cfe
Commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. ( #2625 , #7143 )
11 months ago
ocornut
70f2aaff43
Nav: tabbing happen within FocusScope. ImGuiWindowFlags_NavFlattened make window inherit focus scope from parent.
11 months ago
Kevin Coghlan
089ed30323
Replace usages of ImGuiKey_KeyPadEnter with ImGuiKey_KeypadEnter. ( #7143 )
11 months ago
ocornut
e265610a0c
Fixes for MSVC code analyzer.
11 months ago
ocornut
f59b54c6f4
Nav: Activation can also be performed with Keypad Enter. ( #5606 )
11 months ago
ocornut
6cfe3ddf52
InputTextMultiline: Tabbing through a multi-line text editor using ImGuiInputTextFlags_AllowTabInput doesn't activate it. ( #3092 , #5759 , #787 )
11 months ago