676 Commits (ff5299e0e030b9b769ff3b069a924001c6a84feb)

Author SHA1 Message Date
omar 51853292cc ImDrawList: Using ImDrawCornerFlags instead of int in various apis. ago%!(EXTRA string=6 years)
omar dcd03f62a7 Scrolling: Made it possible for mouse wheel and navigation-triggered scrolling to override a call to SetScrollX()/SetScrollY(), making it possible to use a simpler stateless pattern for auto-scrolling. ago%!(EXTRA string=6 years)
omar c37f21788f Columns: Made GetColumnOffset() and GetColumnWidth() behave when there's no column set, consistently with other column functions + fixed Columns demo (#2683) ago%!(EXTRA string=6 years)
omar 493795cdd1 Columns: Fix support for BeginColumns() with a count of 1 (not that this isn't available via the old Columns() api). Tweaked Demo to facilitate testing for it. ago%!(EXTRA string=6 years)
omar 61c7f0194e Misc: Made Button(), ColorButton() not trigger an "edited" event leading to IsItemDeactivatedAfterEdit() returning true. This also effectively make ColorEdit4() not incorrect trigger IsItemDeactivatedAfterEdit() when clicking the color button to open the picker popup. (#1875) ago%!(EXTRA string=6 years)
omar ea79992d9a Fixed old SetWindowFontScale() api value from not being inherited by child window. Added comments about the right way to scale your UI (load a font at the right side, rebuild atlas, scale style). ago%!(EXTRA string=6 years)
omar e6a286b3a5 Style: Added style.ColorButtonButton (left/right, defaults to ImGuiDir_Right) to move the color button of ColorEdit3/ColorEdit4 functions to either side of the inputs. ago%!(EXTRA string=6 years)
omar a35f42f123 Removed TreeAdvanceToLabelPos() which is rarely used and only does SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()). Kept redirection function (will obsolete). (#581, #324) ago%!(EXTRA string=6 years)
omar e461e7bc7a Moved ImGuiColumnsFlags erroneously forward declared in imgui.h + demo bit. ago%!(EXTRA string=6 years)
omar e16564e67a Scrollbar: Avoid overlapping the opposite side when window (often a child window) is forcibly too small. ago%!(EXTRA string=6 years)
omar da29d77253 Added SetScrollXHere, SetScrollFromPosX: Changelog, demo, comments (#1580). ago%!(EXTRA string=6 years)
omar 82711251b6 Internals: ImGuiListClipper using absolute coordinate (instead of relative one). Minor no-op tweaks + ImDrawListSplitter assert ago%!(EXTRA string=6 years)
omar eb3e271c24 Demo: Using ImVec2(-FLT_MIN,0.0f) instead of ImVec2(-1.0f,0.0f) where it makes sense. (#2449) ago%!(EXTRA string=6 years)
omar e9b92d1cef Disable -Wpragmas warning in GCC to avoid relying on version checks, as unusual/forks/mods don't appear to always have same warning<>version. (#2618) ago%!(EXTRA string=6 years)
omar 5286ecb8a7 Version 1.72 WIP ago%!(EXTRA string=6 years)
omar 2da1c66d15 Version 1.71 + comments ago%!(EXTRA string=6 years)
omar 4597632662 Readme, comments, dear imgui prefixes ago%!(EXTRA string=6 years)
omar c1a61d25a7 Scrollbar overlap an extra WindowBorderSize amount on the left to make all distances consistent. Reverted to BorderSize not affecting work/contents rectangles. Scrollbar, Style: Changed default style.ScrollbarSize from 16 to 14. ago%!(EXTRA string=6 years)
omar 15282261dd Internals: Minor no-op tidying up toward solving the WindowPadding / WindowBorderSize / ScrollbarSize overlapping mess. ago%!(EXTRA string=6 years)
omar d6df777ff2 TextWrapped, PushTextWrapPos(0.0f) within a window with horizontal scrolling from not covering the full horizontal area (previously only worked with an explicit contents size). ago%!(EXTRA string=6 years)
omar f95c77eeea Window rectangles: Changed WorkRect to cover the whole region including scrolling (toward obsolete ContentsRegionRect) + using full WindowPadding*1 padding. ago%!(EXTRA string=6 years)
omar 7755cbbef2 Renamed ImGuiBackendFlags_HasVtxOffset to ImGuiBackendFlags_RendererHasVtxOffset to match naming convention already used in viewport/docking branch. (#2591) + Fix OpenGL3 code missing flag. ago%!(EXTRA string=6 years)
omar d1e8b698d0 ImDrawList: Added ImDrawCmd::VtxOffset value to support large meshes (64k+ vertices) using 16-bits indices. To enable the feature, the renderer back-end needs to set 'io.BackendFlags |= ImGuiBackendFlags_HasVtxOffset' and honor the ImDrawCmd::VtxOffset field. Otherwise the value will always be zero. This has the advantage of preserving smaller index buffers and allowing to execute on hardware that do not support 32-bits indices. ago%!(EXTRA string=6 years)
omar 2d68e892a8 Added full "Dear ImGui" prefix to the title of "Dear ImGui Demo" and "Dear ImGui Metrics" windows. Shortened amount of nodes in columns>tree demo. ago%!(EXTRA string=6 years)
omar 70a4be07df ColorEdit: Fixed the color picker popup only displaying inputs as HSV instead of showing multiple options. (#2587, broken in 1.69 by #2384). ago%!(EXTRA string=6 years)
omar 958d75c00a Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the collapsing/docking button to the other side of the title bar. 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 632469d2e5 Renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Refactored SetNextItemXXX stuff to match SetNextWindowXXX code closely. ago%!(EXTRA string=6 years)
omar 7355c84701 Tweak EndGroup() to facilitate fixing #2550 later (currently should have no side-effect0. Demo: Add extra widget to status query test. ago%!(EXTRA string=6 years)
omar e29176df53 Internals: Columns: Renamed fields. Comments and tweak. Moved a demo block. 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 3fbc0b7a9e Obsoleted GetContentRegionAvailWidth(), use GetContentRegionAvail().x instead. Kept inline redirection function. ago%!(EXTRA string=6 years)
omar 0f2852806c Amend 48a09a7 with changelog, breaking changes, tweak demo code for spacing. (#2518) ago%!(EXTRA string=6 years)
Richard Mitton 4c0f34fd5d Improved algorithm for mitre joints on thick lines 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 6db0766564 Misc comments, internal renaming, added disable indentation option to Columns demo section. ago%!(EXTRA string=6 years)
omar 5078fa208b Added SetNextItemWidth() helper to avoid using PushItemWidth/PopItemWidth() for single items. ago%!(EXTRA string=6 years)
omar 8d53f834ee Demo: Documents: Fix misusage of ListBoxHeader(). 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 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 570d0bbbda Demo: Comments, tweaks, removed some uses of ImColor helpers. ago%!(EXTRA string=6 years)
omar 4a57507f75 InputText: Work-around for buggy standard libraries where isprint('\t') returns true. (#2467, #1336) ago%!(EXTRA string=6 years)
omar 3a737e665a Examples: Vulkan: Added missing support for 32-bit indices (#define ImDrawIdx unsigned int). + demo typo ago%!(EXTRA string=6 years)
omar d9f6ba3035 IsWindowHovered() made change which should have no effect in master but fix result of IsWindowHovered(ImGuiHoveredFlags_ChildWindows) over multiple viewport in docking branch. (#2432) ago%!(EXTRA string=6 years)
omar 221bf93a55 Comments, todo list, remove trailing spaces. ago%!(EXTRA string=6 years)
omar 857381b9ca GetMouseDragDelta(): also returns the delta on the mouse button released frame. Verify that mouse positions are valid otherwise returns zero. Removed obsolete comment. Tweaked demo. (#2419) ago%!(EXTRA string=6 years)