History for imgui / imgui_widgets.cpp
2019-06-12
@omar
Version 1.71 + comments
omar committed on 12 Jun 2019
2019-06-11
@omar
Internals: Reworked RenderTextEllipsis() to satisfy what we need for table headers.
omar committed on 11 Jun 2019
@omar
CollapsingHeader: Minor fix to align right side of frames (which is extruded past the Work/Contents rect) with clipping rectangle.
omar committed on 11 Jun 2019
@omar
Log/Capture: Fixed BeginTabItem() label not being included in a text log/capture. ...
omar committed on 11 Jun 2019
2019-06-07
@omar
Internals: Added drawlist and color arg to RenderArrow(), RenderBullet(). Reordered args for RenderPixelEllipsis.
omar committed on 7 Jun 2019
2019-06-06
@omar
Synced/merged minor cruft from docking branch to minimize drift. AFAIK the only meaningful no-op change is that the call UpdateHoveredWindowAndCaptureFlags() was moved above UpdateMouseMovingNewFrame() to match what docking branch has been doing for a while.
omar committed on 6 Jun 2019
2019-06-05
@omar
Scrollbar overlap an extra WindowBorderSize amount on the left to make all distances consistent. Reverted to BorderSize not affecting work/contents rectangles. Scrollbar, Style: Changed default style.ScrollbarSize from 16 to 14.
omar committed on 5 Jun 2019
@omar
Internals: Minor no-op tidying up toward solving the WindowPadding / WindowBorderSize / ScrollbarSize overlapping mess. ...
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
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