2284 Commits (docking)

Author SHA1 Message Date
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 6b1e094cfb Fixed _ChildWindows from leaking docking hierarchy. Added ImGuiFocusedFlags_DockHierarchy and ImGuiHoveredFlags_DockHierarchy. ago%!(EXTRA string=4 years)
ocornut d9b427cce0 Nav: clarified/renamed NavInputId as NavAcivateInputId, added flags shared by both. 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 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 7c4ffe490d Menus: added internal's BeginMenuEx() matching MenuItemEx() with icon parameter. (amend f8fae022) 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 4351febe9f Nav: moved enums/struct declarations in imgui_internal.h 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 51d841dcf3 Fix warnings and remove IM_RETURN (#4470) ago%!(EXTRA string=4 years)
ocornut 0649f750b4 Version 1.85 WIP 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 f24abbc47d Fix various warnings (#4442) ago%!(EXTRA string=4 years)
ocornut 3d4d1b8553 Allow imgui_internal.h to be included before imgui.h ago%!(EXTRA string=4 years)
ocornut e362c5af48 Internals: ColorEdit: renamed some internal masks to match our common coding style. ago%!(EXTRA string=4 years)
ocornut 90bf996e1a Internals: widgets always read back from g.LastItemData.InFlags (so we can now modify per-item disable state more easily). (#211) ago%!(EXTRA string=4 years)
ocornut 6b8a059fc9 Internals: moved LastItem data to a shared structure (instead of one per window) ago%!(EXTRA string=4 years)
David Maas 3d5dc0d939 Added missing IMGUI_API to GetViewportPlatformMonitor. (#4309) ago%!(EXTRA string=4 years)
ocornut fb4bbeb033 Disabled: fixed IsItemHovered() if popped disabled state after item, or when using Selectable_Disabled. (#211) ago%!(EXTRA string=4 years)
ocornut ba1c8464ef Internals: Removed ImGuiButtonFlags_Disabled (which had inconsistent behavior) in favor of ImGuiItemFlags_Disabled. Selectable()'s ImGuiSelectableFlags_Disabled now uses the later. (#211) ago%!(EXTRA string=4 years)
ocornut cc40ae2101 PushDisabled(): added bool + clarify support for stacked disabled (#211) ago%!(EXTRA string=4 years)
ocornut f8fae02270 Menus: rework to allow for an icon column (not yet exposed, but usable via internals) + fix menus being affected by style.SelectableTextAlign (#126) ago%!(EXTRA string=4 years)
ocornut 696d3e056e Internals: Menus: Naming offset field + fix spacing/offset computation to handle more offsets. ago%!(EXTRA string=4 years)
ocornut 3512f2c2c2 Internals: Menus: minor tidying up + renaming in ImGuiMenuColumns + removing extraneous offset field which is always zero + using smaller types. ago%!(EXTRA string=4 years)
ocornut 9e8e5ac363 Docking: Added ImGuiDockNodeFlags_NoDockingOverEmpty. Breaking definition of ImGuiDockNodeFlags_NoDockingOverOther which now means "non empty node". (#3492, #2648, #4292) ago%!(EXTRA string=4 years)
ocornut 6136b3844b Docking: Reworked node flags saving/inheritance... (#4292, #3834, #3633, #3521, #3492, #3335, #2999, #2648) ago%!(EXTRA string=4 years)
ocornut b5a2bd1a5b Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys(). ago%!(EXTRA string=4 years)
ocornut 0aeb978e61 Comments + adding spacing in headers because VS IDE parser display blocks so badly. Add helper in internal's ImGuiInputTextState. (#4275) ago%!(EXTRA string=4 years)
ocornut f0c4d609a6 Default window focus scope not 0. Added ImGuiSelectableFlags_SelectOnNav with comments and caveats. (#1861, #4242,) ago%!(EXTRA string=4 years)
ocornut 98876b4dc2 Added IMGUI_DISABLE_SSE (#4250, #4091) ago%!(EXTRA string=4 years)
ocornut 7c44d067e8 Tables: Fix invalid data in TableGetSortSpecs() when SpecsDirty flag is unset. (#4233) ago%!(EXTRA string=4 years)
ocornut dc676236f0 Minor optimization, removing do/while(0) patterns in some cases as they translate to runtime ago%!(EXTRA string=4 years)
ocornut 0cca0d1617 Internals/experimental: BeginComboPreview(), EndComboPreview(). (#4168, #1658) ago%!(EXTRA string=4 years)
ocornut db0338a1f2 Nav, Drag and Drop, Docking: fixed two issues leading nav result to conflict with moving a window. (#4211, #3025) ago%!(EXTRA string=4 years)
ocornut 865b2ca6f9 Added PushDisabled(), PopDisabled() currently only exposed in imgui_internal.h (#211) ago%!(EXTRA string=4 years)
ocornut 61f4aec868 Added PushDisabled(), PopDisabled() currently only exposed in imgui_internal.h (#211) ago%!(EXTRA string=4 years)
ocornut 6ee398ac2b Tables: Added ImGuiTableColumnFlags_Disabled acting a master disable over (hidden from user/context menu). (#3935, #3740) ago%!(EXTRA string=4 years)
ocornut 2887a6e07d Tables: made TableUpdateBorders() use IsVisibleX flag. comments. ago%!(EXTRA string=4 years)