5361 Commits (f8aed6499fc713b245b863ccc25b412133296de2)

Author SHA1 Message Date
omar fed80b9537 Popups: Changed 'int mouse_buttons' to ImGuiPopupFlags. Added ImGuiPopupFlags_NoOpenOverExistingPopup, ImGuiPopupFlags_NoOpenOverItems. Refactored signature of BeginPopupContextWindow(). ago%!(EXTRA string=5 years)
omar 5acf6d861a Popups: Added ImGuiPopupFlags type, ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen(). ago%!(EXTRA string=5 years)
omar e1d7e14717 Viewports: used main viewport for centering (wip), clarified the meaning of how ImGuiPlatformMonitor WorkPos/WorkSize should be set if unknown, added asserts. ago%!(EXTRA string=5 years)
omar a616ff5d4a BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (#915, #3091) ago%!(EXTRA string=5 years)
omar b83a1f3b00 BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (#915, #3091) ago%!(EXTRA string=5 years)
omar 68389200c4 Internals: Comments about CalcWrapWidthForPos() (#778) ago%!(EXTRA string=5 years)
omar 76e40fe5d1 Docking: Fix misuse of PushClipRect in UpdateWindowManualResize(). (#3311) ago%!(EXTRA string=5 years)
omar 1a1dcea1a0 Internals: Initialize drawlist earlier in Begin() to facilitate detecting accidental draw earlier than legal. (#3311) ago%!(EXTRA string=5 years)
omar 99f68d7958 Docs: Added FAQ entries removed old one which is misleading today. Misc tweaks. ago%!(EXTRA string=5 years)
omar 9c2a36f573 Internals: clarified the code for ClampWindowRect(). ago%!(EXTRA string=5 years)
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)