5642 Commits (docking)

Author SHA1 Message Date
ocornut 45c45d2506 Internals: shallow tidying up of the old resize border structure. Make them match the ImGuiDir order. Split GetWindowResizeID() into GetWindowResizeCornerID() and GetWindowResizeBorderID(). ago%!(EXTRA string=4 years)
ocornut 3ed07a8f0b Docking: removed io.ConfigDockingWithShift option. (#2109) ago%!(EXTRA string=4 years)
ocornut 84e6fe4fc7 Fix IsWindowAppearing() from returning true twice in most cases. (#3982, #1497, #1061) ago%!(EXTRA string=4 years)
ocornut 5991851eb9 Docking: DockSpace() returns its node ID + adding branch changelog. ago%!(EXTRA string=4 years)
ocornut b305953bd1 Viewports: Hotfix for crash in monitor array access, caused by 4b9bc4902. (#3967) ago%!(EXTRA string=4 years)
ocornut a58271c079 Internals: extracted a more reusable BeginViewportSideBar() out of BeginMainMenuBar(). (#3966, #3518) ago%!(EXTRA string=4 years)
ocornut ca34c81ce9 BeginMainMenuBar(): remove expectation that we don't know menu bar height ahead, allowing up to generalize placement in any direction (will be done in master) ago%!(EXTRA string=4 years)
ocornut aa5431fde2 Tables: Expose TableSetColumnEnabled() in public api. (#3935) ago%!(EXTRA string=4 years)
ocornut 59da01901e Scrolling: Fix scroll tracking with e.g. SetScrollHereX/Y() when WindowPadding < ItemSpacing. Fix scroll snapping on edge of scroll region when both scrollbars are enabled. ago%!(EXTRA string=4 years)
ocornut 412d6f7efe Fixes zealous MSVC static analyzers warnings (#3938) ago%!(EXTRA string=4 years)
Rokas Kupstys 0c5b0c8b97 Internals: Add a way to request window to not process any interactions for specified number of frames. ago%!(EXTRA string=4 years)
Rokas Kupstys b17bfdd6f4 Docking: Add support for split_outer in DockContextCalcDropPosForDocking(). ago%!(EXTRA string=4 years)
ocornut b202fa9063 Docking: undocking nodes/windows covering most of the monitor max their size down to 90% to ease further manipulations. ago%!(EXTRA string=4 years)
ocornut a1a39c632a Version 1.83 WIP ago%!(EXTRA string=4 years)
ocornut 2231e1a369 Docking: Dockspace() never draws a background. (#3924) ago%!(EXTRA string=4 years)
ANF-Studios ebe6ac5fb5 Improvements to minor mistakes in documentation comments (#3923) ago%!(EXTRA string=4 years)
ocornut 35b1148efb Version 1.82 ago%!(EXTRA string=4 years)
ocornut 352f64697c Internals: rename legagy tab focus fields to TabFocusXXXX for clarity + removed one unnecessary FocusWindow() call. ago%!(EXTRA string=4 years)
CheckmateAt7 cfe83c4b44
Removed deprecated flag stopping compilation (#3902) ago%!(EXTRA string=4 years)
ocornut 0157502eab ImDrawFlags: rework/revert c2d6d26 + 39432bf in a way that is closer to old version and back to opt-in but with default 0 = all corners. ago%!(EXTRA string=4 years)
ocornut 033dfd9d35 ImDrawFlags: rework/revert c2d6d26 + 39432bf in a way that is closer to old version and back to opt-in but with default 0 = all corners. ago%!(EXTRA string=4 years)
ocornut 39432bfd9c Amend 0c93238a ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags ago%!(EXTRA string=4 years)
Rokas Kupstys c2d6d26139 ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags ago%!(EXTRA string=4 years)
ocornut 8b9fedba28 Moved Obsolete function block lower in the file + obsoleted old SetScrollHere (->SetScrollHereY) ago%!(EXTRA string=4 years)
ocornut 8ed34af6f8 ImDrawList: clarified that PathArcTo()/PathArcToFast() cannot take radius < 0.0f. (#3491) + changed poor-man ceiling in _CalcCircleAutoSegmentCount() to use 0.999999f to reduce gaps ago%!(EXTRA string=4 years)
ocornut 4b9bc49020 Viewports, Internals: added GetViewportPlatformMonitor() will a safety net to keep code portable + simplified handling of disconnected monitor in Begin(). ago%!(EXTRA string=4 years)
ocornut 6ba1334903 Nav: internals: renaming ImGuiInputSource so it is not specific to nav. Comments. ago%!(EXTRA string=4 years)
Rokas Kupstys 01a2bac7d5 DrawList: Replace "bool close" in drawing functions with flags. ago%!(EXTRA string=4 years)
ocornut a64e0eb3a4 Nav: merged SetNavID() and SetNavIDWithRectRel() to improve sanity, moved flags overwrite off them. (#787) ago%!(EXTRA string=4 years)
ocornut 1c9cc7c117 Nav: tweaks so docking can use same code. NavRestoreLayer restore nav id but Menu key typicallys clears it for menu layer (+ less relying on _ChildWindow flag). ago%!(EXTRA string=4 years)
ocornut 4bb5a36f90 Nav: do not clear per-window NavId when window reappears. Process NavInit regardless of current highllight state. Consistently set g.NavLayer in SetNavID(). (#787) ago%!(EXTRA string=4 years)
ocornut 954b06afe2 Drag and Drop: can use BeginDragDropSource() for other than the left mouse button (#1637, #3885) ago%!(EXTRA string=4 years)
ocornut d5a4d53000 Viewports, Backend: SDL: Fix missing ImGuiBackendFlags_HasSetMousePos flag in docking branch (ok in master), GLFW: Fix application of WantSetMousePos. (#1542, #787) ago%!(EXTRA string=4 years)
ocornut 705f082674 Internals: rename RootWindow->RootWindowDockTree, RootWindowDockStop->RootWindow. ago%!(EXTRA string=4 years)
ocornut fdebb2e093 Internals: removed HoveredRootWindow, tweak IsWindowHovered(). ago%!(EXTRA string=4 years)
ocornut ee643b2ad9 IsItemHovered(): fixed return value false positive when used after EndChild(), EndGroup() or widgets using either... (#3851, #1370) ago%!(EXTRA string=4 years)
ocornut 3e6dfd3c1a ImDrawList: AddImageRounded() compare texid from cmdheader as with other functions. + Made the ImGuiMemAllocFunc / ImGuiMemFreeFunc consistent with our other typedefs (#3836) ago%!(EXTRA string=4 years)
ocornut 25679a411e Window, Nav: Fixed crash when calling SetWindowFocus(NULL) as the time a new window appears. (#3865) ago%!(EXTRA string=4 years)
ocornut b794ecc079 Internals: Docking: some renaming. ago%!(EXTRA string=4 years)
Rokas Kupstys 839ecce571 Internals: Add a way to request window to not process any interactions for specified number of frames. ago%!(EXTRA string=4 years)
ocornut 760c394707 Added links to Discussions. Closed Discord, yeah! (#2748) ago%!(EXTRA string=4 years)
ocornut 6f4b9c65ae Added commentary about DLL boundaries. Added GetAllocatorFunctions(). Tidying up. (#3836) ago%!(EXTRA string=4 years)
ocornut edf135c18d Win32+MinGW: Re-enabled IME functions by default even under MinGW. (#2590, #738) ago%!(EXTRA string=4 years)
David Maas ece854564a
Log/Capture: Added LogTextV, a va_list variant of LogText. (#3828) ago%!(EXTRA string=4 years)
ocornut 3ec14186cb Viewports: Fix setting of ImGuiViewportFlags_NoRendererClear. (#3213) ago%!(EXTRA string=4 years)
ocornut fb15d8c858 Improve on automatic circle segment count calculation. (#3808) Amends ago%!(EXTRA string=4 years)
thedmd f107693d9b Improve on automatic circle segment count calculation. (#3808) ago%!(EXTRA string=4 years)
ocornut 30b7545841 Version 1.82 WIP ago%!(EXTRA string=4 years)
ocornut 3d75f438bc Docking: Made close button enable logic consistent on dockspace. When no docked window have a close button or it is disabled on the node, the space is given to tabs. ago%!(EXTRA string=4 years)
ocornut 61b19489f1 Made a change to CalcWindowSizeAfterConstraint() which MSVC optimizer seems to trip on. (read on) ago%!(EXTRA string=4 years)