History for imgui / imgui_widgets.cpp
2019-06-05
@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
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
@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-30
@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
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
Internal: Renamed InnerMainRect to InnerVisibleRect. Printing coordinates in Metrics window.
omar committed on 28 May 2019
2019-05-27
@omar
ColorEdit: Fixed the color picker popup only displaying inputs as HSV instead of showing multiple options. (#2587, broken in 1.69 by #2384).
omar committed on 27 May 2019
2019-05-24
@omar
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
@omar
Internal: CloseButton takes an upper-left corner + a size to be consistent with similar widgets.
omar committed on 24 May 2019
@omar
Internals: Extracted some of the tab bar shrinking code into a ShrinkWidths() function so columns/table can use it.
omar committed on 24 May 2019
@omar
Fixed InputScalar, InputScalarN, SliderScalarN, DragScalarN with non-visible label from inserting style.ItemInnerSpacing.x worth of trailing spacing.
omar committed on 24 May 2019
2019-05-22
@omar
Internals: Added InnerWorkRect equal to old InnerClipRect, added InnerWorkRectClipped actually clipped.
omar committed on 22 May 2019
2019-05-21
@omar
Fixed crash when appending with BeginMainMenuBar() more than once and no other window are showing. (#2567) + comments
omar committed on 21 May 2019
2019-05-19
@omar
Fixed GCC mem-access warnings (#2565) ...
omar committed on 19 May 2019
2019-05-18
@omar
Fixed ColorEdit breakage introduced by d3a387c (#2557, #1875, #2034)
omar committed on 18 May 2019
2019-05-13
@omar
Fixed InputFloatX, SliderFloatX, DragFloatX functions erroneously reporting IsItemEdited() multiple times when the text input doesn't match the formatted output value (e.g. input "1" shows "1.000"). It wasn't much of a problem because we typically use the return value instead of IsItemEdited() here. (#1875, #2034)
omar committed on 13 May 2019
@omar
Internal: Renamed fields + minor tweaks (probably shallow break stack-layout pr, sorry!)
omar committed on 13 May 2019
@omar
Internal: Removed GetNextItemWidth(), relying on ItemAdd or NextItemData.ClearFlags() to clear the width data. Amend 5078fa20 and undo some of its effects of imgui_widgets.cpp
omar committed on 13 May 2019
@omar
Renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Refactored SetNextItemXXX stuff to match SetNextWindowXXX code closely.
omar committed on 13 May 2019
@omar
Internal: Storing flags for NextWindowData so that we can clear everything with a single write and remove dummy condition fields.
omar committed on 13 May 2019
@omar
Internal: Minor tidying/reordering of sections within ImGuiContext / window DC.
omar committed on 13 May 2019
2019-05-10
@omar
Internal: Scrollbar: Further sane simplification (using InnerMainRect instead of duplicating calculations).
omar committed on 10 May 2019
@omar
Internal: Scrollbar: Extracted scrollbar code for other uses (eg. table v2 scrolling without using a child window).
omar committed on 10 May 2019
2019-05-09
@omar
Separator: Revert 1.70 "Declare its thickness (1.0f) to the layout" change (c5d83d8a). It's not incorrect but it breaks existing some layout patterns. Will return back to it when we expose Separator flags.
omar committed on 9 May 2019
@omar
Internal: Refactored Separator into SeparatorEx(), exposed ImGuiSeparatorFlags_SpanAllColumns in imgui_internal.h and support without. (#759) + misc comments
omar committed on 9 May 2019
@omar
Columns: Fixed Separator from creating an extraneous draw command. Fixed Selectable with SpanAllColumns flag from creating an extraneous draw command. (#125)
omar committed on 9 May 2019
2019-05-07
@omar
Version 1.71 WIP + fixed minor typo
omar committed on 7 May 2019
2019-05-06
@omar
Version 1.70
omar committed on 6 May 2019
2019-05-03
@omar
Selectable: With ImGuiSelectableFlags_AllowDoubleClick doesn't return true on the mouse button releas efollowing the double-click. Only first mouse release + second mouse down (double-click) returns true. Likewise for internal ButtonBehavior() with both _PressedOnClickRelease | _PressedOnDoubleClick. (#2503)
omar committed on 3 May 2019