5213 Commits (6cc967a124f59296e52c827299812a7e37a97b4c)

Author SHA1 Message Date
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)
omar cf2c52282d Version 1.70 WIP ago%!(EXTRA string=6 years)
omar 55c02099c5 Version 1.69, comments, typos ago%!(EXTRA string=6 years)
omar c3f20f6b81 Viewport: DestroyPlatformWindow() skips calling user function if PlatformWindowCreated is set. + Clarified comment about implicit Debug viewport which may be hogging a viewport. ago%!(EXTRA string=6 years)
David Maas e7dca4fec2 Fixed main viewport not being marked as created, which broke updating the IME input position for the main viewport. ago%!(EXTRA string=6 years)
omar a26085ed53 Internals: Fixed Navigation from reaching ImGuiItemFlags_Disabled items (#211) + Examples comments ago%!(EXTRA string=6 years)
omar e1acb0b1fa Docking: Fixed node merging altering window position incorrectly in a way that would make SizeContents incorrect for the next frame (making scrollbar flicker). (#2414, #2109) ago%!(EXTRA string=6 years)
omar 3ead9820f7 Viewport: Popups and Tooltips viewports are correctly parented to the parent window's viewport. (#2409, #1542) ago%!(EXTRA string=6 years)
omar cf4fcc4735 Viewports: Fixed delayed window pos->viewport pos sync leading to monitor not being updated at the time of clamping window position in Begin. (#2415, #1542) ago%!(EXTRA string=6 years)
omar 3eedb542a6 Viewports: Renamed ConfigViewportsNoParent to ConfigViewportsNoDefaultParent. Fix outdated comments in examples. ago%!(EXTRA string=6 years)
omar ecf7666624 Docking: Fixed an issue where removing the last window from a dockspace node that is not a central node without remove the node. (#2414, #2109) ago%!(EXTRA string=6 years)
Bruce Mitchener b5d57a6615 Fix typos. (#2413) ago%!(EXTRA string=6 years)
Bruce Mitchener 17c567c3a9 Don't use const qualified parameters in declarations. ago%!(EXTRA string=6 years)
omar 66936880ba Moved placeholder sections to match Docking branch. Comments. ago%!(EXTRA string=6 years)
omar 5ce93bc0cc Refactor: Move viewport code under other subsystem to simplify merging (4) (moving in multiple commits to make diff/patch behave nicely) ago%!(EXTRA string=6 years)
omar 54a129a2e2 Refactor: Move viewport code under other subsystem to simplify merging (3) (moving in multiple commits to make diff/patch behave nicely) ago%!(EXTRA string=6 years)
omar bdf60dac6a Refactor: Move viewport code under other subsystem to simplify merging (2) (moving in multiple commits to make diff/patch behave nicely) ago%!(EXTRA string=6 years)
omar bbb543fc16 Refactor: Move viewport code under other subsystem to simplify merging (1) (moving in multiple commits to make diff/patch behave nicely) ago%!(EXTRA string=6 years)
omar f717df4eb6 Internal: Columns: Allow to use BeginColumns(1) so code designed for variable number of columns can still call NextColumn etc. (#125) ago%!(EXTRA string=6 years)
omar 28d8eb220b Fix for Android char being unsigned by default (#2408) ago%!(EXTRA string=6 years)
omar 344140004b Fixed IsItemDeactivated()/IsItemDeactivatedAfterEdit() from not correctly returning true when tabbing out of a focusable widget (Input/Slider/Drag) in most situations. (#2215, #1875) ago%!(EXTRA string=6 years)
omar 26328fc9fe Internal: Tabbing/Focus: Tidying up old code, moved some state to context instead of window. Storing new data will allow us to fix the bug mentioned in #2215 (probably in next commit). ago%!(EXTRA string=6 years)
omar ce4e62649a Internal: Tabbing: Tweaks to FocusableItemRegister and using the standard mechanism to allow/block Tab being interpreting by tabbing instead of InputText() widget. ago%!(EXTRA string=6 years)
omar ac4842fa17 Nav: Fixed Ctrl+Tab keeping active InputText() of a previous window active after the switch. (#2380) ago%!(EXTRA string=6 years)
omar 94e794f81b Renamed GetOverlayDrawList() to GetForegroundDrawList() for consistency. Kept redirection function (will obsolete). (#2391) ago%!(EXTRA string=6 years)
omar 96b13760d4 Added GetBackgroundDrawList() helper to quickly get access to a ImDrawList that will be rendered behind every other windows. (#2391) ago%!(EXTRA string=6 years)
omar 1d0b4df3d9 Misc: Asserting in NewFrame() if style.WindowMinSize is zero or smaller than (1.0f,1.0f). Internal: ImHash functions tweaks. Added InputText() to query status section. ago%!(EXTRA string=6 years)
omar 6de09a5e48 Renamed ColorEdit/ColorPicker's ImGuiColorEditFlags_RGB/_HSV/_HEX flags to respectively ImGuiColorEditFlags_DisplayRGB/_DisplayHSV/_DisplayHex. This is anticipation of adding new flags to ColorEdit/ColorPicker functions which would make those ambiguous. (#2384) [@haldean] ago%!(EXTRA string=6 years)
omar 4eecf80a4b Moved Settings section above Docking to facilitate master<>docking merges. ago%!(EXTRA string=6 years)
omar 104294c7e4 Moved Logging/Capturing section above Docking to facilitate master<>docking merges. ago%!(EXTRA string=6 years)
David Wingrove 5d7bd2309b Fixes warning caused by a missing switch/case. (#2382, #2381) ago%!(EXTRA string=6 years)
omar 9558e327d2 Log/Capture: Fixed extraneous leading carriage return. Fixed an issue when empty string on a new line would not emit a carriage return. ago%!(EXTRA string=6 years)
omar cd67d4d3c1 Log/Capture: Fixed LogXXX functions 'auto_open_depth' parameter being treated as an absolute tree depth instead of a relative one. Fixed CollapsingHeader trailing ascii representation being "#" instead of "##". Minor tidying up the of code. ago%!(EXTRA string=6 years)
omar 2cd7de5666 Internal: Log/Capture: Rework to add an internal LogToBuffer() function which is useful for writing automated tests. Clarified logging state by adding an enum. ago%!(EXTRA string=6 years)
omar 3eba840053 Nav: Fixed a tap on AltGR (e.g. German keyboard) from navigation to the menu layer. (follow and extend on e.g #369, #370) ago%!(EXTRA string=6 years)
omar 81a8730022 Internal: InputText: Renamed is_editable to !is_readonly, Hopefully more explicit. Renamed internal member. Shuffled some code. Added comments, assert (_will_ trigger on !readonly > readonly edge, old bug). ago%!(EXTRA string=6 years)
omar 257f5d204e Version 1.69 WIP ago%!(EXTRA string=6 years)
omar 93b06e6e7c Internal: Changed Scrollbar() signature. Using GetScrollbarID() in InputTextMultiline(). ago%!(EXTRA string=6 years)
omar 3c15dffc94 Version 1.68 ago%!(EXTRA string=6 years)
omar 5412cdf2c8 Docking: Made DockBuilderSplitNode/DockNodeTreeSplit work even if the node doesn't have a size yet. (#2357, #2109) ago%!(EXTRA string=6 years)
omar 3de440fda2 Docking: Fixed assert in DockContextProcessDock() preventing some uses of DockNodeBuilder api. (#2357, #2109) ago%!(EXTRA string=6 years)
omar 76dbff37cd Selectable: Tweaks for #2347 (demo, changelog, member position) ago%!(EXTRA string=6 years)
haldean b277cfffc8 Selectable: add support for specifying text alignment on selectables (#2347) ago%!(EXTRA string=6 years)
omar 3c07ec6a61 Made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame). ago%!(EXTRA string=6 years)
omar 2206df9e7a Demo: Added Auto-Scroll option in Log/Console. Comments. Removed some ImColor() uses. ago%!(EXTRA string=6 years)
omar 57a586b4f1 Font: Moved functions to internal block (not enforced). Made ConfigData pointer const. Added link to stb's notes. ago%!(EXTRA string=6 years)
omar 417cf2237f Font: Fixed high-level ImGui::CalcTextSize() used by most widgets from erroneously subtracting 1.0f*scale to calculated text width. Among noticeable side-effects, it would make sequences of repeated Text/SameLine calls not align the same as a single call, and create mismatch between high-level size calculation and those performed with the lower-level ImDrawList api. (#792) ago%!(EXTRA string=6 years)
omar a79785c0b9 ImDrawData: Added FramebufferScale field (currently a copy of the value from io.DisplayFramebufferScale). ago%!(EXTRA string=6 years)
omar afc36cf802 Window: Fixed initial width of collapsed windows not taking account of contents width (broken in 1.67). (#2336, #176) ago%!(EXTRA string=6 years)
omar f366828dd2 Minor tweaks to reduce false positive of PVS Studio static analyzer. ago%!(EXTRA string=6 years)