521 Commits (3171f90a1a31e0472d951cddc4eb8fc9b96e6421)

Author SHA1 Message Date
omar 3678307cd9 Popup, Menus: Tweaks and comments. ago%!(EXTRA string=7 years)
omar 369189b675 Internals: Popup: Explicitely setting up ImGuiPopupRef reduces confusion. ago%!(EXTRA string=7 years)
omar a34490239c Internals: Popup: Separating MousePosOnOpen and PopupPosOnOpen. They are equal in the master branch but different in the navigation branch. ago%!(EXTRA string=7 years)
omar 95b773370f Revert "Internals: Added LastActiveId, LastActiveIdTimer. (#1537)" Will come up with a better design later. ago%!(EXTRA string=7 years)
omar 007f4034c9 Internals: Added LastActiveId, LastActiveIdTimer. (#1537) ago%!(EXTRA string=7 years)
omar 4fc9f44073 Merge of minor left-overs from private work branch to reduce drifts. Should be functionally a no-op. ago%!(EXTRA string=7 years)
omar b2ec0741f1 Internals: Settings api tweaks ago%!(EXTRA string=7 years)
omar f9b2058d5a Internals: Renamed ImGuiSimpleColumns to ImGuiMenuColumns to avoid confusion. Reduced internal buffer size (we only use 3 slots). ago%!(EXTRA string=7 years)
omar 3c6fbe0849 Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData. ago%!(EXTRA string=7 years)
omar 7fcbd45500 Internals: NextWindow: Renamed, moved functions to member. ago%!(EXTRA string=7 years)
omar e339949de1 Internals: NextWindow: Using ImGuiCond for consistency. ago%!(EXTRA string=7 years)
omar 04b44398eb Internals: refactored g.SetNextWindow fields into g.NextWindow. structure (so it can be more easily transported/copied) ago%!(EXTRA string=7 years)
omar 6ec00a366a Internals: ImRect: Minor formatting tweaks. ago%!(EXTRA string=7 years)
omar fbf2435f38 Exposed IM_OFFSETOF() helper in imgui.h ago%!(EXTRA string=7 years)
omar 2dd2ca0096 Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side. ago%!(EXTRA string=7 years)
omar 49eed6e2d1 Version 1.54 WIP ago%!(EXTRA string=7 years)
omar e916310b2e Version 1.53 ago%!(EXTRA string=7 years)
omar bb8dfe4a34 Fixed incorrect IM_DELETE macro (9cda86d55a) (#1517, #484, #504) ago%!(EXTRA string=7 years)
omar 9cda86d55a Internals: Added IM_NEW, IM_DELETE helper macros (#1517, #484, #504) ago%!(EXTRA string=7 years)
omar 1f26652944 Various zealous warning fixes (thanks Clang). ago%!(EXTRA string=7 years)
omar c8c872c753 Internals: String functions uses size_t in their signature ago%!(EXTRA string=7 years)
omar 531c11d5c7 ImDrawList: Small refactor toward removing dependency on GImGui + PushClipRectFullscreen now correctly uses data provided by imgui which can takes account of DisplaySize + Removed static variable in PathArcToFast() which caused linking issues to some. ago%!(EXTRA string=7 years)
omar b9391d1692 Columns: Internal: Columns have their no set of flags so NoResize can be setup by internal code. (#125) ago%!(EXTRA string=7 years)
omar ddbcda8c1b Columns: Column width data is no longer lost while dragging toward the right side. (#1499, #125) ago%!(EXTRA string=7 years)
omar e8e84a6ad6 Columns: Added internal tracking of a few flag temporarily, to facilitate the work of third-parties who have columns patches. (#125) ago%!(EXTRA string=7 years)
omar 4ae5c7e227 Columns: Refactor: Moved ColumnsSet[] to window out of DC as they are persistent data for most + fix for pre C++11 compilers. (#125, #1499) ago%!(EXTRA string=7 years)
omar b016215c80 Columns: Refactor: Not using statestorage lookup anymore. (#125, #1499) ago%!(EXTRA string=7 years)
omar 3a31a75e3b Columns: Refactor: Renamed all members. (#125, #1499) ago%!(EXTRA string=7 years)
omar 78320aa633 Columns: Refactor: Moved columns data into their own data structure. Minimum changes now to ease diffing. (#125, #1499) ago%!(EXTRA string=7 years)
omar 90d0b8b58b Navigation: minor sync to reduce drifts between changes ago%!(EXTRA string=7 years)
omar 8b59ed0708 Drag and Drop: Exposed some internals. ago%!(EXTRA string=7 years)
omar 7c7a7baf76 Merged miscellaneous small stuff (from nav/dock branches). ago%!(EXTRA string=7 years)
omar 28bbf1ade6 Fixed ParentWindow setup which broke Modal windows (fix c65124f415) ago%!(EXTRA string=7 years)
omar c22657985a Added GetFrameHeight() function (used to be SmallSquareSize internally) ago%!(EXTRA string=7 years)
omar ee7f1921e8 Internals: Added GetSmallSquareSize() ago%!(EXTRA string=7 years)
omar c65124f415 Internals: ParentWindow is now NULL for non-child windows and means what everyone expects. ago%!(EXTRA string=7 years)
omar f42d7b89e2 Internals: Removed misleading GetWindowParent() function. + renaming to clear confusing. ago%!(EXTRA string=7 years)
omar 4a555d35f0 IsWindowHovered(): split ImGuiHoveredFlags_FlattenChild into separate ChildWindows and RootWindow flags. Allowing more combination and a better symetry with IsWindowFocused() flags. (#1382) ago%!(EXTRA string=7 years)
omar 45f440bb7d Internals: Renamed ImGuiButtonFlags_FlattenChilds -> ImGuiButtonFlags_FlattenChildren, ImGuiButtonFlags_AllowOverlapMode -> ImGuiButtonFlags_AllowItemOverlap ago%!(EXTRA string=7 years)
omar e3e0326ea9 Exposed BeginCombo() publicly. ago%!(EXTRA string=7 years)
omar eab6333a0b SetNextWindowContentSize() adjust for client->window size, but the fate of borders isn't really clear for now (until now we always tried to make borders not affect layout, so if we want a 200x200 fully visible space with borders and zero window padding user need to include the borders) (#1490) ago%!(EXTRA string=7 years)
omar a5e9392140 Combo: Added flags to BeginCombo() new api, removed explicit height, default to 8 instead of 7 items, allow popup height constraints via SetNextWindowSizeConstraints(), width expand if contents doesn't fit, popup reposition policy if it doesn't fit. ago%!(EXTRA string=8 years)
omar 7bf85db6c4 Drag and drop: Added COL3F payload for color without alpha overwrite. Exposed standard color payload types in imgui.h (#143) ago%!(EXTRA string=8 years)
omar 45466a8cf9 Internals: BeginCombo() added dummy ImGuiComboFlags. ago%!(EXTRA string=8 years)
omar 8959c64b33 Internals: Cleanup FindBestPopupWindowPos() to be more digestible, since we are bounds to rework the logic there. No functional changes intended ago%!(EXTRA string=8 years)
omar beda5fc5a0 Fixed scrollbar enable/disable calculation when size is modified programmatically. This is the generalization of the fix in 2df8fa95df. ago%!(EXTRA string=8 years)
omar e103fe8c1f Tweak four-corners resize grip code. Added ImRect::FixInverted() helper. (#822) ago%!(EXTRA string=8 years)
omar b9dc0caee3 Tweak four-corners resize grip code. Added ImRect::FixInverted() helper. (#822) ago%!(EXTRA string=8 years)
omar c860a0a85c Internals: ImRect: Added IsFinite() helper. ago%!(EXTRA string=8 years)
omar 52e475230f Settings: Internals: Renaming. ago%!(EXTRA string=8 years)