5376 Commits (4521dec85da045ed1f1a069e80ac3afc37ecd0bd)

Author SHA1 Message Date
ocornut bce1ba400f Clipper: add ForceDisplayRangeByIndices (#3841, #3578) ago%!(EXTRA string=4 years)
ocornut 1a7526dcd4 Nav, Tabbing: refactor tabbing system to support clipped items, scrolling, using nav queries. (#4449) ago%!(EXTRA string=4 years)
ocornut f01a6d3e8f InputText, Nav: fixed repeated calls to SetKeyboardFocusHere() preventing to use InputText(). (#4682) ago%!(EXTRA string=4 years)
ocornut 32779c5b64 Clipper: hotfix (amend 93cccd2, was broken) (#3841, #1725) ago%!(EXTRA string=4 years)
ocornut 64daeddf6f Removed CalcListClipping() function. (#3841) ago%!(EXTRA string=4 years)
ocornut 6a7e2c74fb Clipper: remove ForceDisplayRangeByIndices/ForceDisplayRangeByPositions functions until we find a need for them, since #3841 is now solved automatically. ago%!(EXTRA string=4 years)
ocornut 93cccd27f6 Clipper: bunch of rework. (#3841, #1725) ago%!(EXTRA string=4 years)
GamingMinds-DanielC cd1b5f7883 Clipper: enhanced ImGuiListClipper (#3841) ago%!(EXTRA string=4 years)
ocornut b409df34db Clipper: Fixed content height declaration slightly mismatching the one of when not using a clipper. ago%!(EXTRA string=4 years)
ocornut 14466a6d19 Nav: Page/Home/End doesn't immediately restore highlight (before results comes) + pressing Esc to exit a child window re-enable the Nav highlight if it was disabled by mouse. ago%!(EXTRA string=4 years)
ocornut 978598b174 Nav: pressing PageUp/PageDown/Home/End when in Menu layer automatically moves back to Main layer. + fixed resizing window from borders setting navigation to Menu layer. ago%!(EXTRA string=4 years)
ocornut d1eb7b5757 ScrollToItem: amend fully visible tests to take account of spacing used (fix nav in one axis scrolling back and forth between axises when space is tight by just < ItemSpacing*2) (#3692, #2812, #4242, #2900) ago%!(EXTRA string=4 years)
ocornut a67f7dce31 Nav: relative rectangle positions are now stored relative to CursorStartPos to be independent of scrolling. Will facilitate rework of clipper (#3841) ago%!(EXTRA string=4 years)
ocornut 8d361c47fb Nav: rework NavEnableSetMousePos application so scrolling is applied more consistently in NavCalcPreferredRefPos() + moved at end of NavUpdate() after the last SetScroll have been done. ago%!(EXTRA string=4 years)
ocornut 8361ed1f54 Nav: wrap abs<>rel rectangle conversions before we attempt to switch the reference point from window->Pos to window->DC.CursorStartPos. This commit should have no effect. ago%!(EXTRA string=4 years)
ocornut 19c72cd52a Nav: fixed absolute mouse position (with NavEnableSetMousePos config flag) when using Home/End leads to scrolling. ago%!(EXTRA string=4 years)
ocornut c363b6df2b Modals: fixed issue hovering popups inside a child inside a modal. Fixed IsWindowFocused()/IsWindowHovered() issues with childs inside popups. (#4676)(#4676, #4527) ago%!(EXTRA string=4 years)
ocornut 0f2898ea88 Demo: Tree selection demo use !IsItemToggledOpen() (#1896) + update FAQ (#4366) ago%!(EXTRA string=4 years)
ocornut 9c78fc928a Inputs: Mouse: Amend c8e3a01 for tracking multiple clicks, renaming. (#3229) ago%!(EXTRA string=4 years)
Chris Savoie 2318c764cf Inputs: Mouse: Add support for tracking multiple clicks more than just double (#3229) ago%!(EXTRA string=4 years)
ocornut 05877c14df Fixed nested BeginDisabled()/EndDisabled() bug in Docking branch due to bad merge. (#4655, #4452, #4453, #4462) ago%!(EXTRA string=4 years)
ocornut e3bd9434b1 1.86 WIP + internals: tweaks table temp data code. ago%!(EXTRA string=4 years)
ocornut 29653273c1 Docking: reinstate io.ConfigDockingWithShift option. (#4643) ago%!(EXTRA string=4 years)
ocornut 55d35d8387 Version 1.85 ago%!(EXTRA string=4 years)
ocornut 75c54e6384 Nav: Fixed vertical scoring offset when wrapping on Y in a decorated window. ago%!(EXTRA string=4 years)
ocornut ba5c105c01 Menus: Fixed an assertion happening in some situations when closing nested menus (broken in 1.83). (#4640) ago%!(EXTRA string=4 years)
ocornut 44f801186f SetItemDefaultFocus() use ScrollToRectEx(), don't tab when Alt is held either, TabItemEx() uses ItemAdd's extra_flags, misc comments. ago%!(EXTRA string=4 years)
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 65ad63de84 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) 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 fa0a314f59 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 e7cc534367 Docking: Improved resizing system so that non-central zone are better at keeping their fixed size. ago%!(EXTRA string=4 years)
ocornut 29828d0469 Docking: floating node with a central node hides properly when nothing is docked + rename. ago%!(EXTRA string=4 years)
ocornut 8dfb52245b Docking: bits. ago%!(EXTRA string=4 years)
ocornut 5d95e7eef9 Viewports: extracted DestroyViewport() out of UpdateViewportsNewFrame() function. ago%!(EXTRA string=4 years)
ocornut 92a39f78b9 Fixed IsWindowFocused/IsWindowHovered with _ChildWindows for not following through popup parents (amend 6b1e094c, fix #4527) ago%!(EXTRA string=4 years)
ocornut 79d39b190b Viewports: fix window with viewport ini data immediately merged into a host viewport from leaving a temporary viewport alive for a frame (would leak into backend). ago%!(EXTRA string=4 years)
ocornut 6b77668171 Viewports: Fixed a crash while a window owning its viewport disappear while being dragged. ago%!(EXTRA string=4 years)