2019-06-05 |
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
|
---|---|
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
|
|
Window rectangles: Made InnerRect not affected by window border sizes. its few users shouldn't be meaningfully affected.
omar
committed
on 5 Jun 2019
|
|
2019-06-04 |
Merge branch 'master' into docking
omar
committed
on 4 Jun 2019
|
Comments (#2599). Moved branch Changelog above 1.71 wip one. Added some missing changelog bits.
omar
committed
on 4 Jun 2019
|
|
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
|
|
2019-05-31 |
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
|
2019-05-30 |
|
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
|
|
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
|
|
2019-05-29 |
|
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
|
|
|
|
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
|
|
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 |
Internal: Renamed InnerMainRect to InnerVisibleRect. Printing coordinates in Metrics window.
omar
committed
on 28 May 2019
|
2019-05-27 |
Docking: Fixed DockBuilderRemoveNode() from overwriting other parent node flags when trying to move the CentralNode flag.
omar
committed
on 27 May 2019
|
Docking: Saving local _NoResize flag. (#2583)
omar
committed
on 27 May 2019
|
|
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
|
|
Docking: Saving the NoTabBar, NoWindowMenuButton, NoCloseButton fields of dock node into the .ini file. Added them to the Metrics window. (#2583, #2423, #2109).
omar
committed
on 27 May 2019
|
|
Docking: Clarified terminology of docking/tablist/collapse button into Window Menu button matching master. Added private ImGuiDockNodeFlags_NoWindowMenuButton, ImGuiDockNodeFlags_NoCloseButton flags. (#2583, #2109)
omar
committed
on 27 May 2019
|
|
2019-05-24 |
Docking: Honor style.WindowMenuButtonPosition setting in docking node.
omar
committed
on 24 May 2019
|
|
|
Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the collapsing/docking button to the other side of the title bar.
omar
committed
on 24 May 2019
|
|
Internal: CloseButton takes an upper-left corner + a size to be consistent with similar widgets.
omar
committed
on 24 May 2019
|
|
2019-05-22 |
|
Internals: Added InnerWorkRect equal to old InnerClipRect, added InnerWorkRectClipped actually clipped.
omar
committed
on 22 May 2019
|
|
2019-05-21 |
|
Fixed crash when appending with BeginMainMenuBar() more than once and no other window are showing. (#2567) + comments
omar
committed
on 21 May 2019
|