505 Commits (fd6d8863f77c87d642d1a6108f061a0315d2daf0)

Author SHA1 Message Date
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=8 years)
omar e3e0326ea9 Exposed BeginCombo() publicly. ago%!(EXTRA string=8 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=8 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)
omar 7ae71e4984 Settings: Internals: Added FindSettingsHandler() ago%!(EXTRA string=8 years)
omar 35eb5c5c99 Settings: Internals: Exposed FindWindowSettings(). Simplified some code. ago%!(EXTRA string=8 years)
omar 963259d128 Settings: Internals: Renamed ImGuiSettingsWindow to ImGuiWindowSettings. ago%!(EXTRA string=8 years)
omar f3ec608c19 Settings: Initializing ImGuiSettingsWindow so external users don't end up with uncleared data. Exposed MarkIniSettingsDirty() in imgui_internal.h ago%!(EXTRA string=8 years)
omar 7e2d0d734c Settings: basic refactor so that additional data structures can be loaded/saved. Parser/saver is still the minimum viable poor-man parsing. ago%!(EXTRA string=8 years)
omar d552cabd15 Settings: Internal renaming of structure and fields names. ago%!(EXTRA string=8 years)
omar 4e3c7f1557 Nav: Exposed NavInitWindow() in imgui_internal (#787) ago%!(EXTRA string=8 years)
omar 7763ab3fcc Menu bar: better software clipping to handle small windows, in particular child window don't have the minimum constraint added in e9a7e73bba so we need to render clipped menus better. ago%!(EXTRA string=8 years)
omar 7d09a0ae99 Menu bar: better software clipping to handle small windows, in particular child window don't have the minimum constraint added in e9a7e73bba so we need to render clipped menus better. ago%!(EXTRA string=8 years)
omar 302757447a Internals: Added SplitterBehavior(). (#319) ago%!(EXTRA string=8 years)
omar 3f5b2a3fe3 Exposed ImDrawCornerFlags, replaced occurences of ~0 with an explicit ImDrawCornerFlags_All. Inversed BotLeft (prev 1<<3, now 1<<2) and BotRight (prev 1<<2, now 1<<3). ago%!(EXTRA string=8 years)
thedmd 8b2d449b16 Add ShadeVertsLinearUV() ago%!(EXTRA string=8 years)
omar 9a44d447cd NewFrame() now asserts if neither Render or EndFrame have been called. Exposed EndFrame(). Made it legal to call EndFrame() more than one. (#1423 etc.) ago%!(EXTRA string=8 years)
omar 6f7b1bf2e1 Internals: Renamed ImGuiWindow::Accessed to WriteAccessed. ago%!(EXTRA string=8 years)