2019-06-05
@omar
Internals: Storing ScrollMax into a member. Mostly to facilitate debugging. Also locking down window->Scroll slightly lower in the Begin function.
omar committed on 5 Jun 2019
@omar
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).
omar committed on 5 Jun 2019
@omar
Internals: Renamed SizeContents to ContentSize, SizeContentsExplicit to ContentSizeExplicit. Tweaked Metrics->Show Rectangles functionality.
omar committed on 5 Jun 2019
@omar
Window rectangles: Changed WorkRect to cover the whole region including scrolling (toward obsolete ContentsRegionRect) + using full WindowPadding*1 padding. ...
omar committed on 5 Jun 2019
@omar
Clarified behavior of SetNextWindowContentSize(). Content size is defined as the size available after removal of WindowPadding on each sides. So SetNextWindowContentSize(ImVec2(100,100)) + auto-resize will always allow submitting a 100x100 item without creating a scrollbar, regarding of WindowPadding.The exact meaning of ContentSize for decorated windows was previously ill-defined.
omar committed on 5 Jun 2019
@omar
Window rectangles: Made InnerRect not affected by window border sizes. its few users shouldn't be meaningfully affected.
omar committed on 5 Jun 2019
@omar
Comments about obsoleted features version. Todo. Clarify tab bar initial offset (useful if we decide to remove the half-windowpadding clip margin).
omar committed on 5 Jun 2019
2019-06-04
@omar
Nav: Fixed rare crash when e.g. releasing Alt-key while focusing a window with a menu at the same frame as clearing the focus. This was in most noticeable in some back-ends with emits key release events when focusing another viewport. (#2609)
omar committed on 4 Jun 2019
@DucaRii
Combo: Fixed rounding not applying with the ImGuiComboFlags_NoArrowButton flag. (#2606, #2607)
DucaRii authored on 4 Jun 2019 omar committed on 4 Jun 2019
2019-05-31
@omar
Nav: Fixed gamepad/keyboard moving of window affecting contents size incorrectly, sometimes leading to scrollbars appearing during the movement. + minor fix with the mostly dead Ctrl+wheel scaling.
omar committed on 31 May 2019
@omar
ImDrawListSplitter: Support merging consecutive draw commands straddling two channels. Support zero-init.
omar committed on 31 May 2019
@omar
ImDrawListSplitter: extracted out of ImDrawList. Down the line we may obsolete the ImDrawList functions and encourage users to store the splitter aside, in the meanwhile ImDrawList holds a splitter. ...
omar committed on 31 May 2019
@omar
ImDrawList: Fix broken channel splitting (another issue when the first channel is empty) (#2591) + fixed warnings with newer VS
omar committed on 31 May 2019
2019-05-30
@Sebastian Krzyszkowiak
Include <alloca.h> also when __SWITCH__ is defined (#2595) ...
Sebastian Krzyszkowiak authored on 30 May 2019 omar committed on 30 May 2019
@omar
ImDrawList: Fix broken channel splitting (broken by d1e8b69) (#2591)
omar committed on 30 May 2019
@omar
Internals: Window rectangles: Fixed ContentsRegion lag by moving back after Scrollbar, fixes b50c61c9. Shuffling setup order and added comments.
omar committed on 30 May 2019
@omar
Internals: Window rectangles: Renaming of all rectangles toward their final form. Should be a no-op. Renamed GetWorkRectMax() to GetContentRegionMaxAbs(). Metrics shows SizeContents.
omar committed on 30 May 2019
@omar
Fixed imgui_impl_opengl3 broken in previous few commits. (#2591, #2593, #2594)
omar committed on 30 May 2019
2019-05-29
@Max Thrun
Examples/Backends: Metal: Added support for large meshes (64k+ vertices) with 16-bits indices, enable 'ImGuiBackendFlags_HasVtxOffset' config flag in back-end. (#2591, #2592)
Max Thrun authored on 29 May 2019 omar committed on 29 May 2019
@omar
Renamed ImGuiBackendFlags_HasVtxOffset to ImGuiBackendFlags_RendererHasVtxOffset to match naming convention already used in viewport/docking branch. (#2591) + Fix OpenGL3 code missing flag.
omar committed on 29 May 2019
@omar
Examples/Backends: DirectX9/10/11/12, Vulkan, OpenGL3 (Desktop GL only): Added support for large meshes (64k+ vertices) with 16-bits indices, enable 'ImGuiBackendFlags_HasVtxOffset' config flag in back-end. (#2591)
omar committed on 29 May 2019
@omar
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. ...
omar committed on 29 May 2019
@omar
ImDrawList: Store initial flags for the frame in ImDrawListSharedData, reducing code duplication in setting up the flags.
omar committed on 29 May 2019
2019-05-28
@omar
CollapsingHeader: When a close button is enabled, better clip the label to avoid overlap. (#600)
omar committed on 28 May 2019
@omar
Fonts: Added some details about using custom colorful icons.
omar committed on 28 May 2019
@omar
Internal: Renamed InnerMainRect to InnerVisibleRect. Printing coordinates in Metrics window.
omar committed on 28 May 2019
@omar
Changelog, minor tweaks. (#2585)
omar committed on 28 May 2019
@actboy168
Examples: imgui_impl_osx: Added mouse cursor support. (#2585, #1873)
actboy168 authored on 28 May 2019 omar committed on 28 May 2019
2019-05-27
@omar
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.
omar committed on 27 May 2019
@omar
Comments, todo entries, moved ImGuiSelectableFlagsPrivate in higher ranges to match others.
omar committed on 27 May 2019