ocornut
e78ce72eb6
Popups: Fixed resizable popup minimum size being too small. Standardized CalcWindowMinSize() logic a bit more. ( #73290
Amend e2035a514
, 623bff23ce
, 923535240
, etc.
9 months ago
ocornut
014e0ac8c9
Menus, Popups: Fixed an issue where hovering a parent-menu upward would erroneously close the window. ( #7325 , #7287 , #7063 )
Amend 76e09c4b0
. Initial call to ClosePopupToLevel d31fe97f7
(#2880 ).
See "widgets_menu_reopen_2" in TestSuite.
9 months ago
Tim-Rex
9159cd7b4a
Updated invalid documentation link ( #7331 )
9 months ago
cvionis
ccc5347e45
Fix typos ( #7332 )
9 months ago
ocornut
8a14b71f22
Version 1.90.4 WIP
9 months ago
ocornut
5b6f03213d
Version 1.90.3
9 months ago
ocornut
9dfa2397de
Internals: Fixed ImFileOpen not working before context is created. ( #7314 , #7315 )
Amend daf49e9d8
9 months ago
ocornut
3af739a2d1
Menus, Popups: fixed menus and popups with child window flag erroneously not displaying a scrollbar when contents is over parent viewport size. ( #7287 , #7063 )
Amend f37f6f6
9 months ago
ocornut
915c6393ad
Version 1.90.3 WIP
9 months ago
ocornut
536090303a
Version 1.90.2
9 months ago
ocornut
7b5357d817
Debug Tools: Metrics: Improved Monitors and Viewports minimap display. Highlight on hover.
Added ImGuiViewport ID in Master branch.
9 months ago
ocornut
70aa717a8e
Combo: Fixed not reusing windows optimally when used inside a popup stack.
9 months ago
ocornut
76e09c4b0f
ClosePopupsOverWindow(): amend to remove _ChildWindow test.
Said test seems unnecessary and incorrect as we test hierarchy now. See test "nav_ctrl_tab_popups" in ImGuiTestSuite.
9 months ago
ocornut
3a078466a7
Nav: ImGuiWindowFlags_NoNavInputs is tested during scoring so NavFlattened windows can use it.
9 months ago
ocornut
a5e0e90c16
Nav: tweak RenderNavHighlight() syntax. ImGuiNavHighlightFlags_TypeThin -> ImGuiNavHighlightFlags_Compact.
9 months ago
ocornut
a06dd7a27b
OpenPopup(): Added ImGuiPopupFlags_NoReopen. Nav, Menus: Fixed click on a BeginMenu() followed by right-arrow. ( #1497 , #1533 )
reopen
9 months ago
ocornut
f104967c68
Comments
9 months ago
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