1213 Commits (4b4be11fd2dabc7a72d749c22a5eeeb3647078bc)

Author SHA1 Message Date
omar 7bc03f7155 Internals: Added InnerWorkRect equal to old InnerClipRect, added InnerWorkRectClipped actually clipped. ago%!(EXTRA string=6 years)
omar a2eec8f5b5 Fix OuterRectClipped not being clipped correctly, which resulted in child window outside visible bound to not be marked with SkipItems. Broken in b50c61c961. ago%!(EXTRA string=6 years)
omar f242cd4d8a Fixed GCC mem-access warnings (#2565) ago%!(EXTRA string=6 years)
omar fc3c3de551 Fixed uses of IsItemDeactivated(), IsItemDeactivatedAfterEdit() on multi-components widgets and after EndGroup(). (#2550, #1875) ago%!(EXTRA string=6 years)
omar 99a845053a Internal: Renamed fields + minor tweaks (probably shallow break stack-layout pr, sorry!) ago%!(EXTRA string=6 years)
omar 64dbd932d2 Internal: Removed GetNextItemWidth(), relying on ItemAdd or NextItemData.ClearFlags() to clear the width data. Amend 5078fa20 and undo some of its effects of imgui_widgets.cpp ago%!(EXTRA string=6 years)
omar 632469d2e5 Renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Refactored SetNextItemXXX stuff to match SetNextWindowXXX code closely. ago%!(EXTRA string=6 years)
omar 36e714a459 Internal: Storing flags for NextWindowData so that we can clear everything with a single write and remove dummy condition fields. ago%!(EXTRA string=6 years)
omar 0b485f12d7 Internal: Minor tidying/reordering of sections within ImGuiContext / window DC. ago%!(EXTRA string=6 years)
omar 37174c85e2 Internal: Scrollbar: Extracted scrollbar code for other uses (eg. table v2 scrolling without using a child window). ago%!(EXTRA string=6 years)
omar e29176df53 Internals: Columns: Renamed fields. Comments and tweak. Moved a demo block. ago%!(EXTRA string=6 years)
omar a4d0b0efa4 Internal: Refactored Separator into SeparatorEx(), exposed ImGuiSeparatorFlags_SpanAllColumns in imgui_internal.h and support without. (#759) + misc comments ago%!(EXTRA string=6 years)
omar b7c2759f95 Columns: Fixed Separator from creating an extraneous draw command. Fixed Selectable with SpanAllColumns flag from creating an extraneous draw command. (#125) ago%!(EXTRA string=6 years)
omar 239c8732d7 Viewports: Minor tweaks. (#2471) ago%!(EXTRA string=6 years)
omar 42fc563fed Version 1.71 WIP + fixed minor typo ago%!(EXTRA string=6 years)
omar d1d5075b66 Version 1.70 ago%!(EXTRA string=6 years)
omar 86f92fe756 Demo: Improved trees in columns demo. (#2136) ago%!(EXTRA string=6 years)
omar ce19cb465f Internals: Rename GetContentRegionMaxScreen() -> GetWorkRectMax(). At this point this is mostly useful to facilitate merge of other branches. ago%!(EXTRA string=6 years)
omar 842a720e72 Popups: Closes popup at the time of FocusWindow(). Fixes right-click from closing all popups instead of aiming at the hovered popup level (regression in 1.67's ae76a1fd). ago%!(EXTRA string=6 years)
omar bda2cde68e Popups: Closing a popup restores the focused/nav window in place at the time of the popup opening, instead of restoring the window that was in the window stack at the time of the OpenPopup call. (#2517) ago%!(EXTRA string=6 years)
omar 3276b12765 Internals: Added DataTypeApplyOp, DataTypeApplyOpFromText to imgui_internal.h ago%!(EXTRA string=6 years)
omar 4e81b2d093 Internals: Renaming. Renamed ImGuiPopupRef to ImGuiPopupData for consistency and added constructor. ago%!(EXTRA string=6 years)
omar 3d363c91fd Internals: Exposed ImGuiDataTypeInfo, DataTypeGetInfo(), DataTypeFormatString(). Comments. ago%!(EXTRA string=6 years)
omar 0ca1675ff9 Internals: TempInputText: Rename InputScalarAsWidgetReplacement() -> TempInputTextScalar(), ScalarAsInputTextId -> TempInputTextId, small tidying up in affected functions. ago%!(EXTRA string=6 years)
omar 59a3f0476d Internals: Using more explicit PushOverrideID() helper + renamed equivalent internal tree helper. ago%!(EXTRA string=6 years)
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)