History for imgui / imgui_widgets.cpp
2019-02-21
@omar
Internal: InputText: Refactor to clarify access pattern to the InputTextState (we are now accessing via a pointer which can be NULL, shortened its name while we are at it) + added an assert to track an issue that existed already before.
omar committed on 21 Feb 2019
2019-02-20
@omar
Internal: InputText: Comments. Renamed internal member. Renamed ImGuiStb->ImStb.
omar committed on 20 Feb 2019
2019-02-19
@omar
InputText: Renamed some local variables to clarify code. Should be a no-op functionality wise. TODO items.
omar committed on 19 Feb 2019
@omar
InputInt, InputFloat, InputScalar: Fix to keep the label of the +/- buttons centered when style.FramePadding.x is abnormally larger than style.FramePadding.y. Since the buttons are meant to be square (to align with e.g. color button) we always use FramePadding.y. (#2367)
omar committed on 19 Feb 2019
@omar
Version 1.69 WIP
omar committed on 19 Feb 2019
@omar
Internal: Changed Scrollbar() signature. Using GetScrollbarID() in InputTextMultiline(). ...
omar committed on 19 Feb 2019
@omar
Fixed unused argument warning when compiling with IM_ASERT() evaluating to an empty macro.
omar committed on 19 Feb 2019
@omar
Version 1.68
omar committed on 19 Feb 2019
2019-02-14
@haldean
Selectable: add support for specifying text alignment on selectables (#2347) ...
haldean authored on 13 Feb 2019 omar committed on 14 Feb 2019
@omar
Scrollbar: Fade out and disable interaction when too small, in order to facilitate using the resize grab on very small window, as well as reducing visual noise/overlap. (+1 squashed commits) ...
omar committed on 14 Feb 2019
2019-02-12
@omar
Shallow tweaks
omar committed on 12 Feb 2019
2019-02-07
@omar
Tabs: Fixed border (when enabled) so it is aligned correctly mid-pixel and appears as bright as other borders.
omar committed on 7 Feb 2019
2019-02-06
@omar
ListBox/InputTextMultiline: Better optimized when clipped / non-visible.
omar committed on 6 Feb 2019
@omar
DragScalarN, SliderScalarN, InputScalarN: Removed unnecessary string id after the integer PushID() calls.
omar committed on 6 Feb 2019
@omar
Minor tweaks to reduce false positive of PVS Studio static analyzer.
omar committed on 6 Feb 2019
@omar
Menus: Tweaked horizontal overlap between parent and child menu (to help convey relative depth) from using style.ItemSpacing.x to style.ItemInnerSpacing.x, the later being expected to be smaller. (#1086)
omar committed on 6 Feb 2019
2019-02-05
@omar
Plot: Register an ID to take the click the same way as other framed widgets. Set HoveredId in the FramePadding zone (between inner_bb and frame_bb).
omar committed on 5 Feb 2019
@omar
Internals: Selectable: Fixed rendering width miscalculation when starting pos is not line start pos, which would generally be unnoticeable. Could affect group lock X with a smaller SetCursorPos value but that's unlikely to be used.
omar committed on 5 Feb 2019
@omar
Internals: Removed unnecessary code.
omar committed on 5 Feb 2019
@omar
Tabs: Moved Tab List Popup to left-side to match docking button. Highlight selected tab. (#261, #351)
omar committed on 5 Feb 2019
@omar
Tabs: Non-docking tab bars are storing names to allow tab list button + whole style scaling. Added ImGuiTabBarFlags_TabListPopupButton flag to show a popup button on manual tab bars. Locking FramePadding for the scope of a tab-bar to avoid sheering/clipping of tab item. Made scaling of tab ellipsis less awkward. (#261, #351)
omar committed on 5 Feb 2019
2019-02-04
@omar
RadioButton: Fixed label horizontal alignment to precisely match Checkbox(). + Internals: Checkbox, RadioButton: Single call to ItemSize() for flow layout purpose.
omar committed on 4 Feb 2019
@omar
Internals: DragScalar, SliderScalar: Calling ItemSize before ItemAdd as with every other widgets so we can more easily rearrange the signature of ItemXXX functions (toward allowing non-rounded sizes for scaling and flow layout).
omar committed on 4 Feb 2019
2019-02-01
@omar
Internals: Minor changes to TreeNodeBehavior() and Selectable() for the benefit of fhe range_select branch. (#1861)
omar committed on 1 Feb 2019
@omar
Internals: Track ActiveIdHasBeenPressed (similar to ActiveIdHasBeenEdited). This is currently mostly for the benefit of the range_select branch. (#1861)
omar committed on 1 Feb 2019
2019-01-30
@omar
Internals: InputScalarAsWidgetReplacement: Fixed seemingly unnecessary calling of SetActiveID/SetHoveredID every frame, which in turns allow us to remove the g.ActiveIdAllow/Block settings duplicated.
omar committed on 30 Jan 2019
@omar
InputText: Fixed a bug where ESCAPE would be first captured by the Keyboard Navigation code. (#2321, #787)
omar committed on 30 Jan 2019
@omar
InputText: Fixed a bug where ESCAPE would not restore the initial value in all situations. (#2321) [@relick]
omar committed on 30 Jan 2019
@omar
imgui-test: Added extra item info callbacks. Using nav_bb for interactions when possible. Comments, Demo tweaks.
omar committed on 30 Jan 2019
2019-01-27
@omar
Persistently fixing some PVS-Studio static analyzer false positive warnings.
omar committed on 27 Jan 2019