1058 Commits (adbbd17cb66f5a1635d209b55d8599fcad369e5f)

Author SHA1 Message Date
omar 6db0766564 Misc comments, internal renaming, added disable indentation option to Columns demo section. ago%!(EXTRA string=6 years)
omar d0fb547dc1 Viewports: Avoid rendering/swapping secondary viewports that are minimized. (#1542, #2496) ago%!(EXTRA string=6 years)
omar 59f012d656 Internals: ImHashStr() default parameter. ago%!(EXTRA string=6 years)
omar 5078fa208b Added SetNextItemWidth() helper to avoid using PushItemWidth/PopItemWidth() for single items. ago%!(EXTRA string=6 years)
omar f355a40367 Added commentary about ContentRegion functions. Added internal GetContentRegionMaxScreen() to facilitate internal code at the moment. ago%!(EXTRA string=6 years)
omar 9d4a893a77 Internals: Moved CalcItemSize next to CalcItemWidth, added comments to clarify their respective intent. Should have no side effect. ago%!(EXTRA string=6 years)
omar 1aeee9d40f Internals: Columns: Tweaks, renaming. Metrics: Show rectangles for child windows. ago%!(EXTRA string=6 years)
omar 742b5f4c68 Merged a bunch of small changes from Docking branch to reduce the difference between branches. ago%!(EXTRA string=6 years)
omar 311469e9d6 Internals: Columns: Some renaming, extracted code into GetColumnsID(). ago%!(EXTRA string=6 years)
omar f70eacee8e Docking: Internal: Added helper for automation to process docking at the mouse level. ago%!(EXTRA string=6 years)
omar 224f087a5f Docking: Rename typo Autority -> Authority + Rename DockContextNewFrameUpdateDocking -> DockContextUpdateDocking. ago%!(EXTRA string=6 years)
omar fb2626c21b Tests: Added hook/tweaks for imgui-test engine. + Fixed warnings. ago%!(EXTRA string=6 years)
omar 092426bed2 Docking: Hold Shift to force disable docking. (#2109) ago%!(EXTRA string=6 years)
omar c6f1b7b92a Tests: Added hook/tweaks for imgui-test engine. + Fixed warnings. ago%!(EXTRA string=6 years)
omar ee02cdbf03 Internals, Docs: Added a bunch of clarification about ButtonBehavior in the form of a table (and to facilitate writing tests) ago%!(EXTRA string=6 years)
omar 07a70dc972 Internals: Merge minor things from range_select branch. Added ImGuiButtonFlags_NoHoveredOnNav. Added IsItemToggledSelected() - unused here. Renaming. ago%!(EXTRA string=6 years)
omar 1391904fd2 Internals: Selectable: Added ImGuiSelectableFlags_AllowItemOverlap in imgui_internal.h (~ #684, #2341) ago%!(EXTRA string=6 years)
omar 8dab7ac021 InputText: Made Shift+Tab consistently do nothing regardless of whether the back-end emits both char and keys or just keys. (#2467, #1336) ago%!(EXTRA string=6 years)
omar 9bf6509c6e Docking: Fixed focus restore lagging by a frame when a tab stops being submitted. (#2109) Building on a little build of technical debt there, should transition toward a more general docking-agnostic system (#2304) ago%!(EXTRA string=6 years)
omar 5af385ea78 Viewport: Renamed member + added note about a Docking issue with restoring focus. ago%!(EXTRA string=6 years)
omar b6ae8a0dca Docking: Disable SkipItems when directly/programmatically focused (possible generalization of code currently in BeginDocked which relies on tab bar interaction, will remove that code in next commit). (#2453, #2109) ago%!(EXTRA string=6 years)
omar 9a0e71a6ec Internals: Renamed the ImGuiWindow HiddenFrameXXX fields to decorrelate them from resizing behavior, as those values are set by other logic. ago%!(EXTRA string=6 years)
omar 5a665e423c Docking: Added ImGuiDockNodeFlags_NoTabBar (not exposed publicly). (#2423, #2109) ago%!(EXTRA string=6 years)
omar fc95da8aa3 Docking: Internals: Moved CentralNode and HiddenTabBar state into LocalFlags for consistency. (#2423, #2109) ago%!(EXTRA string=6 years)
omar fd5859ed04 Docking: Separating SharedFlags vs LocalFlags in dock node so settings can be applied to individual nodes. Made _NoResize logic on single node applies as expected. (#2423, #2109) ago%!(EXTRA string=6 years)
omar 8d4b5fef1d Renamed ImGuiDockNodeFlags_Dockspace to ImGuiDockNodeFlags_DockSpace for consistency. DockBuilderCopyDockspace() to DockBuilderCopyDockSpace(). Made casing consistent elsewhere. (#2109) ago%!(EXTRA string=6 years)
omar 04a9ce3a18 Docking: Renamed ImGuiDockNodeFlags_PassthruDockspace to ImGuiDockNodeFlags_PassthruCentralNode. + Comments, shallow tweaks. (#2109) ago%!(EXTRA string=6 years)
omar 221bf93a55 Comments, todo list, remove trailing spaces. ago%!(EXTRA string=6 years)
omar cf2c52282d Version 1.70 WIP ago%!(EXTRA string=6 years)
omar 55c02099c5 Version 1.69, comments, typos ago%!(EXTRA string=6 years)
omar 53e0c13be2 TabBar: Reworked scrolling policy (when ImGuiTabBarFlags_FittingPolicyScroll is set) to teleport the view when aiming at a tab far away the visible section, and otherwise accelerate the scrolling speed to cap the scrolling time to 0.3 seconds. ago%!(EXTRA string=6 years)
omar 65c2220049 Internal: Removed unused fields from ImGuiMenuColumns. ago%!(EXTRA string=6 years)
omar ecf7666624 Docking: Fixed an issue where removing the last window from a dockspace node that is not a central node without remove the node. (#2414, #2109) ago%!(EXTRA string=6 years)
Bruce Mitchener b5d57a6615 Fix typos. (#2413) ago%!(EXTRA string=6 years)
Bruce Mitchener 17c567c3a9 Don't use const qualified parameters in declarations. ago%!(EXTRA string=6 years)
Lucas Lazare ab80ee6453 Added InputTextWithHint() (#2400) ago%!(EXTRA string=6 years)
omar 26328fc9fe Internal: Tabbing/Focus: Tidying up old code, moved some state to context instead of window. Storing new data will allow us to fix the bug mentioned in #2215 (probably in next commit). ago%!(EXTRA string=6 years)
omar ce4e62649a Internal: Tabbing: Tweaks to FocusableItemRegister and using the standard mechanism to allow/block Tab being interpreting by tabbing instead of InputText() widget. ago%!(EXTRA string=6 years)
omar 1ed3c4cf4a Internal: Text: Extracted TextUnformatted into TextEx over which we can freely atter the signature. Clarified current large text behavior of TextUnformatted with explicit ImGuiTextFlags_NoWidthForLargeClippedText flag (always set). ago%!(EXTRA string=6 years)
omar 94e794f81b Renamed GetOverlayDrawList() to GetForegroundDrawList() for consistency. Kept redirection function (will obsolete). (#2391) ago%!(EXTRA string=6 years)
omar 96b13760d4 Added GetBackgroundDrawList() helper to quickly get access to a ImDrawList that will be rendered behind every other windows. (#2391) ago%!(EXTRA string=6 years)
omar f02705fbaa InputInt, InputScalar: +/- buttons now respects the natural type limits instead of overflowing or underflowing the value. ago%!(EXTRA string=6 years)
omar cf3cb7cf7e InputText: Fixed various display corruption related to swapping the underlying buffer while a input widget is active (both for writable and read-only paths). Often they would manifest when manipulating the scrollbar of a multi-line input text. ago%!(EXTRA string=6 years)
omar b7b82520b4 Internal: InputText: Minor changes (intended to have side-effect but clarify next commit, however there is rarely such a thing as zero side effect in InputText land!) ago%!(EXTRA string=6 years)
omar 6cbf4b8121 Fixed uninitialized variable (leading to asserts in the docking branch). (#2376, #2371) ago%!(EXTRA string=6 years)
omar 9558e327d2 Log/Capture: Fixed extraneous leading carriage return. Fixed an issue when empty string on a new line would not emit a carriage return. ago%!(EXTRA string=6 years)
omar cd67d4d3c1 Log/Capture: Fixed LogXXX functions 'auto_open_depth' parameter being treated as an absolute tree depth instead of a relative one. Fixed CollapsingHeader trailing ascii representation being "#" instead of "##". Minor tidying up the of code. ago%!(EXTRA string=6 years)
omar 2cd7de5666 Internal: Log/Capture: Rework to add an internal LogToBuffer() function which is useful for writing automated tests. Clarified logging state by adding an enum. ago%!(EXTRA string=6 years)
omar 0f83145aa8 TabBar: Fixed a crash when using BeginTabBar() recursively (didn't affect docking). (#2371) ago%!(EXTRA string=6 years)
omar 332f8f2462 Internal: InputText: Made clipboard copy/cut use its own temporary buffer (like paste) so we can guarantee that TempBuffer if not altered and can be preserved. Renamed TempBufferA to TextA to celebrate this. ago%!(EXTRA string=6 years)