ocornut
daf97832f1
Internals: Nav: renaming.
ago%!(EXTRA string=4 years)
ocornut
bfc4a3347a
Nav: Fixed using SetItemDefaultFocus() on windows with _NavFlattened flag + tools in metrics.
ago%!(EXTRA string=4 years)
ocornut
936f53229d
Internals: maintaining focus order inside windows + only storing root windows in WindowsFocusOrder[] array. (toward #2304 )
ago%!(EXTRA string=4 years)
ocornut
5fed6bdc72
Demo: Improved popups demo and comments.
ago%!(EXTRA string=4 years)
ocornut
b957300260
Documentation tweaks ( #4042 )
ago%!(EXTRA string=4 years)
ocornut
e5efa01920
Docking: Fix window menu button. Broken by 3f16a52
( #4043 )
...
Worked on single-frame click.
ago%!(EXTRA string=4 years)
ocornut
3f16a524c8
Docking: move NavWindow to SelectedTabId application lower to leave a chance for in-between code to alter focus. + store per-node window menu button id to simplify usage.
ago%!(EXTRA string=4 years)
ocornut
646c873598
Docking: Fixed reappearing docked windows with no close button showing a tab with extraneous space for one frame.
ago%!(EXTRA string=4 years)
ocornut
e87dd0e65d
Docking: Fixed multiple simultaneously reappearing window from appearing undocked in their initial frame.
ago%!(EXTRA string=4 years)
ocornut
539de4387b
Docking: Fixed restoring of tab order within a dockspace or a split node.
...
(tests in "docking_tab_order")
ago%!(EXTRA string=4 years)
ocornut
d6a5cc7934
Metrics: hotfix (fix 6ba13349
+ f08566b4
, #4005 )
ago%!(EXTRA string=4 years)
ocornut
92b7b1f72b
Scrolling: Fix mouse wheel axis swap when using SHIFT on macOS (system already does it). ( #4010 )
ago%!(EXTRA string=4 years)
ocornut
00d570e280
Added OpenPopup() ImGuiID overload ( #3993 , #331 )
ago%!(EXTRA string=4 years)
ocornut
65cd14502c
Fix popup positioning, broken by 84e6fe4
. ( #3991 , #3982 )
ago%!(EXTRA string=4 years)
ocornut
f0fc822837
Fix popup positioning, broken by 84e6fe4
. ( #3991 , #3982 )
ago%!(EXTRA string=4 years)
ocornut
3c7177c6a7
Internals: storing WindowsHoverPadding in context for external access. + Docs update binaries
ago%!(EXTRA string=4 years)
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 )
...
Complement ca34c81c
in docking branch which removed assumption that we can't tell size ahead of Begin().
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)
...
Amend 75de34e281
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.
...
CalcNextScrollFromScrollTargetAndClamp() fixed snapping edge calculation missing ScrollbarSizes.y
ago%!(EXTRA string=4 years)
ocornut
412d6f7efe
Fixes zealous MSVC static analyzers warnings ( #3938 )
...
Other unfixed as I'm not happy with caving to false positives of every analyzers.
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().
...
Misc: Add FIXME regarding behavior of some window fields.
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.
...
Kind of a welcome hack.
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
...
Previously it sorts of accidentally worked but would lead to counter-clockwise paths which and have an effect on anti-aliasing.
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 )
...
As long as the item has an ID (for ID-less items will add new functionalities later.
Amend 2c3c5125
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 )
...
Shows how little this feature is used with nav (was designed for small devices and frankly may be dropped) - but the backend support itself we will make use of for other features.
ago%!(EXTRA string=4 years)
ocornut
705f082674
Internals: rename RootWindow->RootWindowDockTree, RootWindowDockStop->RootWindow.
...
Why? So by default RootWindow matches user expectation on both branches, and RootWindowDockTree is more intentful.
(Actually should reduce diff between master<>docking)
ago%!(EXTRA string=4 years)