5642 Commits (docking)

Author SHA1 Message Date
omar 8ead38c100 Clang: Reduce uses of __has_warning for overall sanity, as compilers are hostile to software targetting multiple compiler version. ago%!(EXTRA string=5 years)
omar 704723744e Disabled latest overzealous warnings from Clang ago%!(EXTRA string=5 years)
ocornut 078571b7a9 Popups: added comments, reorganized the functions in imgui.h ago%!(EXTRA string=5 years)
ocornut 6e138504c1 Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. (#1636) ago%!(EXTRA string=5 years)
ocornut 37eb89371b Popups: Internals: Added IsAnyPopupOpen(). ago%!(EXTRA string=5 years)
ocornut d31fe97f74 Popups: Fix an edge case where programatically closing a popup while clicking on its empty space would attempt to focus it and close other popups. (#2880) ago%!(EXTRA string=5 years)
ocornut 1dfd0634cb Internals: Allow ItemHoverable() to be used with id==0 to facilitate high-level read-only hover test in widget code. ago%!(EXTRA string=5 years)
ocornut 99ab521024 Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point ago%!(EXTRA string=5 years)
omar 90c0c0c163 Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49) ago%!(EXTRA string=5 years)
ocornut a933cc4f4d Documentation update ago%!(EXTRA string=5 years)
ocornut 16da8e6da6 Revert "Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). (#125)" ago%!(EXTRA string=5 years)
ocornut 53f0f97273 Added FAQ entry about DPI. Added Japanese font loading example. ago%!(EXTRA string=5 years)
ocornut 40b799023b Docs: Update fonts.md (#2861) + update all references to FONTS.txt ago%!(EXTRA string=5 years)
ocornut 9b3ce494fd Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). (#125) ago%!(EXTRA string=5 years)
ocornut b1f2eacdf3 ImDrawList: Prefixed internal functions with underscore, renamed UpdateClipRect() to _OnChangedClipRect(), UpdateTextureID() -> _OnChangedTextureID() ago%!(EXTRA string=5 years)
ocornut 117d57df5b ImDrawList: Additional comments and extracted bits into ImDrawList::PopUnusedDrawCmd() ago%!(EXTRA string=5 years)
ocornut 57191fe3d0 Comments about limiting WindowRounding to a reasonable size. ago%!(EXTRA string=5 years)
ocornut 0320e7257b ImDrawList: Small refactor to create empty command when beginning the frame, allowing to simplify some functions. ago%!(EXTRA string=5 years)
ocornut 003153b3ac ImDrawList: Tweaks to make style consistent (using pointers, same local names). Added comments. Should be no-op. ago%!(EXTRA string=5 years)
thedmd e22e3f300a ImDrawList: Fixed an issue when draw command merging or cancelling while crossing the VtxOffset boundary would lead to draw command being emitted with wrong VtxOffset value. (#3129, #3163, #3232) ago%!(EXTRA string=5 years)
ocornut 79fbab543d Minor fix to avoid undefined behavior sanitizer triggering (#3276) ago%!(EXTRA string=5 years)
ocornut 41e8837f59 Comments, adding some spacing in ImVec2() constructors. ago%!(EXTRA string=5 years)
ocornut 5ddf60d8ce Commit to facilitate branches merges ago%!(EXTRA string=5 years)
ocornut 0fe5170bc4 Viewports: Report minimized viewports as zero DisplaySize to be consistent with main branch + comments (#1542) ago%!(EXTRA string=5 years)
omar d29157ce58 Moved static array with non-trivial constructors outside of function seems to remove requirement of linking with libstdc++ on some compilers. ago%!(EXTRA string=5 years)
omar c8cde28cf3 IO: AddInputCharacters function ignore 0 input. (#3252) ago%!(EXTRA string=5 years)
ocornut 615e9ae345 Docking: Fix undocking (#3243), amend 7b3d3798 (#1738) ago%!(EXTRA string=5 years)
omar 3b3af6b731 Docking: Fix extraneous function declaration (#3236) + moved some other declarations in imgui_internal to facilitate moving docking code. ago%!(EXTRA string=5 years)
omar 1cd32d3afe Docking: moving small docking context to imgui_internal.h, removed unnecessary indirection, renaming. ago%!(EXTRA string=5 years)
omar 476daf9aac Settings: Added ReadInitFn pre-load handler. ago%!(EXTRA string=5 years)
Chris Savoie c46b79846c Metrics: Fix metrics crash with viewports. ago%!(EXTRA string=5 years)
omar 6636cb9f2f Viewports: Don't set ImGuiViewportFlags_NoRendererClear when ImGuiWindowFlags_NoBackground is set. (#3213) ago%!(EXTRA string=5 years)
Rokas Kupstys a6f4b0fd70 Nav, Menus: Fix vertical wrap-around in menus or popups created with multiple appending calls to BeginMenu()/EndMenu() or BeginPopup/EndPopup(). (#3223, #1207) ago%!(EXTRA string=5 years)
omar 7b3d379819 FocusWindow(NULL) correctly steal active id from previous window. (#1738) amend b0a9bbf6 ago%!(EXTRA string=5 years)
omar 3aa1684129 Comments ago%!(EXTRA string=5 years)
omar c0d5b3f55a Fix to facilitate branch merges ago%!(EXTRA string=5 years)
omar 53ebd6a02f Metrics: Added Table settings block. ago%!(EXTRA string=5 years)
omar 574ff0a280 Docking, Settings: Allow reload of settings data at runtime. (#2573) ago%!(EXTRA string=5 years)
omar 51e568f9dc Docking: Fix to allow basic reload of non-docking .ini data (following d33021d8) + moved settings blocks ago%!(EXTRA string=5 years)
omar d33021d828 Settings: Made it possible to load window .ini data mid-frame. Added clear and post-read handlers. (#2573) ago%!(EXTRA string=5 years)
omar b6a04d7750 Settings: Added Clear Settings in Metrics. (#2188) + Preserve last loaded copy in internal buffer used for save (so it can be browsed easily). ago%!(EXTRA string=5 years)
omar 9ee442d3f0 Metrics: Added a "Settings" section with some details about persistent ini settings. InputText: Assert early on null buffer. ago%!(EXTRA string=5 years)
omar 510f301c9f Internals: Removed seemingly unnecessary size_on_first_use arg to CreateNewWindow(), extracted code into ApplyWindowSettings. ago%!(EXTRA string=5 years)
omar 673d6df85f Demo: Clamping font scale. Added helpers in demo. Comments. Update sponsors. (#3206) ago%!(EXTRA string=5 years)
omar f152fac4f1 Demo: Wrapped many (not all) code and comments lines to 120 characters to fit below GitHub viewer limit. (#3193) ago%!(EXTRA string=5 years)
omar b4dd28ffbb Style: Added style.TabMinWidthForUnselectedCloseButton settings. ago%!(EXTRA string=5 years)
Ryan Pavlik 8cbff5ccb2 Fix various typos. (#3161) ago%!(EXTRA string=5 years)
Rokas Kupstys 2593b6a1c8 Drag and Drop: Fix unintended fallback "..." tooltip during drag operation when drag source uses _SourceNoPreviewTooltip flags. (#3160) ago%!(EXTRA string=5 years)
omar 5ac5d3674f Removed unncessary ID (first arg) of ImFontAtlas::AddCustomRectRegular() function. ago%!(EXTRA string=5 years)
omar 7ddc1adefb Internals: FIxed commented out IMGUI_DEBUG_LOG_xxx macros, added extra. Revert incorrect 103c5edaa. ago%!(EXTRA string=5 years)