4356 Commits (077e4db772b6ce0f5f6a2488ac9473b81ff67aee)

Author SHA1 Message Date
ocornut 31d033c9d8 Nav: refactor SetKeyboardFocusHere() into using Nav facility. Fix it for clipped items. (#343, #4079, #2352, #432) ago%!(EXTRA string=4 years)
ocornut fbe78b1a3a Stack Tool: Docs (#4631) + also prevent Metrics window from displaying twice. ago%!(EXTRA string=4 years)
ocornut 2de96c4bd5 Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). (#4631) ago%!(EXTRA string=4 years)
ocornut 164a86d3b0 Moved !IsActiveIdUsingKey(ImGuiKey_Tab) check to UpdateTabFocus(). Added asserts to IsItemHovered() and IsWindowHovered(). ago%!(EXTRA string=4 years)
ocornut 8f495e5543 Internal: added ScrollToItem() upcoming replacement to ScrollToBringRectIntoView() + ImGuiScrollFlags (WIP) (#3692, #3208, #2812, #4242, #2900) ago%!(EXTRA string=4 years)
ocornut fc4988ffb0 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) ago%!(EXTRA string=4 years)
ocornut 24a77824f2 Added ClosePopupsExceptModals() helper, unused for now (aimed at user being able to close popups on app focus loss, not necessarily a suitable default) ago%!(EXTRA string=4 years)
ocornut bbb95a5e06 IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (merged from docking) (#3532) ago%!(EXTRA string=4 years)
ocornut 15132217a3 Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439) ago%!(EXTRA string=4 years)
ocornut 2cffcbdc64 InputText: fix Space key with nav enabled interfering with input text boxes (fix bd6c9e99). made it possible to activate InputText with tweak gamepad button (why not, now that we can cancel) (#4552, #2321) ago%!(EXTRA string=4 years)
ocornut 3973de7933 Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings. ago%!(EXTRA string=4 years)
ocornut 2d0a6a4969 Misc: moved StacSizeOnBegin out of window instance into window stack data. ago%!(EXTRA string=4 years)
ocornut 66cd21db88 Misc: extracted ErrorCheckEndWindowRecover() out of ErrorCheckEndFrameRecover(). (#1651) ago%!(EXTRA string=4 years)
ocornut d366694062 Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. (#211) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover (#1651) ago%!(EXTRA string=4 years)
ocornut 321b84f01f Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags. ago%!(EXTRA string=4 years)
ocornut d9b427cce0 Nav: clarified/renamed NavInputId as NavAcivateInputId, added flags shared by both. ago%!(EXTRA string=4 years)
ocornut 607ad8c949 Drag and Drop: Fixed using BeginDragDropSource() within a Begin()/BeginChild() that returned false. (#4515) + BeginDragDropTarget() ago%!(EXTRA string=4 years)
ocornut ade4c15eea Nav: Tidying up, renaming + update AnyRequest flag in NavMoveRequestSubmit(). ago%!(EXTRA string=4 years)
ocornut 5ee40c8d34 Nav: always disable highlight if nav is disabled, fix for IMGUI_DEBUG_NAV_SCORING, minor renaming. ago%!(EXTRA string=4 years)
ocornut dff15acdb5 Nav: Fixed toggling menu layer with Alt exiting menu layer with Esc not moving mouse when NavEnableSetMousePos config flag is set. ago%!(EXTRA string=4 years)
ocornut 3d9d3b49ae Internals: folded ImGuiItemAddFlags into ImGuiItemFlags. ImGuiItemAddFlags_Focusable > ImGuiItemFlags_Inputable. One step in the big nav/tab/focus rework. ago%!(EXTRA string=4 years)
ocornut 73a5e82e04 Nav: removed parameters from NavScoreItem(), NavProcessItem(), NavApplyItemToResult(): made little sense / misleading because pulling from other current state anyway. ago%!(EXTRA string=4 years)
ocornut a735a8c084 Nav: storing NavRect in LastItemData. Fix race condition where framed items (Rect != NavRect) calling SetFocusID() would store the wrong NavRectRel until next frame ago%!(EXTRA string=4 years)
ocornut ee351d3548 Nav: move code into NavMoveRequestSubmit(). NavApplyItemToResult() takes absolute rect., comments ago%!(EXTRA string=4 years)
ocornut 7b913db1ce Nav: split NavMoveRequest into NavMoveSubmitted + NavMoveScoringItems to allow operation to defer a move request and provide result immediately + fix regular scoring needlesly running during init + some renaming. ago%!(EXTRA string=4 years)
ocornut 4aea1c5adb IO: added io.WantCaptureMouseAllowPopupClose (#4480) + comments ago%!(EXTRA string=4 years)
ocornut 66102880a3 Updated links to Discussions ago%!(EXTRA string=4 years)
ocornut 333807b483 Windows: fixed background order of overlapping childs submitted sequentially. (#4493) ago%!(EXTRA string=4 years)
ocornut bb6a60b1ff Nav: extracted sections of NavUpdate() into a NavUpdateCreateMoveRequest() function. Only clearing results when a request is activated. ago%!(EXTRA string=4 years)
ocornut ccfb20095e Nav: small refactor of forwarding, clarified that MoveDir only set when RequestActive, removed one indent level in NavUpdatePageUpPageDown(). ago%!(EXTRA string=4 years)
ocornut 20a1edef89 Nav: made EndMenuBar() use NavMoveRequestForward() for consistency. Moved forward clearing to NavMoveRequestApplyResult(). Improved/fixed comments. ago%!(EXTRA string=4 years)
ocornut 84890a3074 Nav: simplify wrap requests code (may soon be useable for tabbing) ago%!(EXTRA string=4 years)
ocornut 4c31c98d22 Nav: extracted code out of NavUpdate() into NavUpdateCancelRequest() ago%!(EXTRA string=4 years)
ocornut e23bee353c Removed GetWindowContentRegionWidth() function ago%!(EXTRA string=4 years)
ocornut 0649f750b4 Version 1.85 WIP ago%!(EXTRA string=4 years)
ocornut d79ca9b0b6 Fixed nested BeginDisabled()/EndDisabled() calls. (#211, #4452, #4453, #4462) [Legulysse] ago%!(EXTRA string=4 years)
ocornut 32d4f6c5d9 Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84.1 ago%!(EXTRA string=4 years)
ocornut f969e68c10 Fix BeginDisabled(false), (#211, #4452) ago%!(EXTRA string=4 years)
ocornut d2ffbd9b86 Version 1.84 ago%!(EXTRA string=4 years)
ocornut df2319a854 Small optimizations to BeginDisabled() to allow frequent calls (#211) ago%!(EXTRA string=4 years)
ocornut c543d93af1 Expose BeginDisabled()/EndDisabled() in public API. Add to demo. (#211) ago%!(EXTRA string=4 years)
ocornut 7bbf8f2ab0 Drag and Drop: fix using AcceptDragDropPayload() with ImGuiDragDropFlags_AcceptNoPreviewTooltip. ago%!(EXTRA string=4 years)
ocornut cd39460925 IO: set io.KeyModsPrev in EndFrame() to tolerate backend writing to io.KeyMods without breaking. (#4439) ago%!(EXTRA string=4 years)
thedmd 2f40be638f IO, Backends: add io.AddFocusEvent(). Clear pressed keys after loosing input focus (#3532) ago%!(EXTRA string=4 years)
Rokas Kupstys 86afe966d3 Metrics: Fixed a crash when inspecting the individual draw command of a foreground drawlist. ago%!(EXTRA string=4 years)
ocornut ff428f1d2f Nav: Fix not clearing NavWindowingToggleLayer properly (old code left it to true, relied on Alt release only). Removed unnecessary KeyMenu_ from NavInput. (#4439, #787) ago%!(EXTRA string=4 years)
ocornut 8fa502ca42 Nav: Alt doesn't toggle menu layer if other modifiers are held. (#4439) ago%!(EXTRA string=4 years)
ocornut b846969fe1 Removed unnecessary line in Begin() + commented out redirecting functions/enums names that were marked obsolete in 1.67 and 1.69 + readded commented obsoleted function. ago%!(EXTRA string=4 years)
Rokas Kupstys 3e4c89051d Popups: Fix OpenPopup() being called after BeginPopup() resulting in a failure to open a popup when focus is NULL. (#4308) ago%!(EXTRA string=4 years)
ocornut c881667c00 Fix - amend 1ad1530 (range-select branch need the NextItemData in NavProcessItem) ago%!(EXTRA string=4 years)