History for imgui / imgui_widgets.cpp
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
2019-05-02
@omar
Internals: Rename GetContentRegionMaxScreen() -> GetWorkRectMax(). At this point this is mostly useful to facilitate merge of other branches.
omar committed on 2 May 2019
2019-04-28
@omar
Tidying up BeginMenu() code + comments.
omar committed on 28 Apr 2019
@omar
Popups: Closing a popup restores the focused/nav window in place at the time of the popup opening, instead of restoring the window that was in the window stack at the time of the OpenPopup call. (#2517) ...
omar committed on 28 Apr 2019
@omar
Internals: Added DataTypeApplyOp, DataTypeApplyOpFromText to imgui_internal.h
omar committed on 28 Apr 2019
@omar
Internals: Renaming. Renamed ImGuiPopupRef to ImGuiPopupData for consistency and added constructor.
omar committed on 28 Apr 2019