History for imgui / imgui_widgets.cpp
2019-02-27
@omar
Plot: Fixed error in 5e3a1de (#2387)
omar committed on 27 Feb 2019
@omar
Plot: Fixed divide-by-zero in PlotLines() when passing a count of 1. (#2387) [@Lectem]
omar committed on 27 Feb 2019
2019-02-26
@omar
InputText: Fixed various display corruption related to swapping the underlying buffer while a input widget is active (both for writable and read-only paths). Often they would manifest when manipulating the scrollbar of a multi-line input text.
omar committed on 26 Feb 2019
@omar
Internal: InputText: Minor changes (intended to have side-effect but clarify next commit, however there is rarely such a thing as zero side effect in InputText land!)
omar committed on 26 Feb 2019
2019-02-24
@omar
InputText; Disabled rendering selection when inactive (it kinda work but I'm not sure this is desirable especially for single-line input, was not intended to be active).
omar committed on 24 Feb 2019
2019-02-23
@omar
InputText: Fixed deactivated but-last-active InputText instance holding on displaying the last active version of the text and not reflecting change in the source. Fix/amend 2e9a175. [+test]
omar committed on 23 Feb 2019
@omar
Log/Capture: Fixed LogXXX functions 'auto_open_depth' parameter being treated as an absolute tree depth instead of a relative one. Fixed CollapsingHeader trailing ascii representation being "#" instead of "##". Minor tidying up the of code.
omar committed on 23 Feb 2019
2019-02-22
@omar
TabBar: Added extra mis-usage error recovery. Past the assert, common mis-usage don't lead to hard crashes any more, facilitating integration with scripting languages. (#1651)
omar committed on 22 Feb 2019
@omar
TabBar: Fixed a crash when using BeginTabBar() recursively (didn't affect docking). (#2371) ...
omar committed on 22 Feb 2019
2019-02-21
@omar
Internal: InputText: Tweaks (including a large indentation change, compare ignoring space) to make next commit more digestible.
omar committed on 21 Feb 2019
@omar
Internal: InputText: refactor the flow to easily decorrelate rendering of selection vs cursor, which would allow us to render selection on inactive items, and generally makes the code clearer. + Some renaming.
omar committed on 21 Feb 2019
@omar
Internal: InputText: Made clipboard copy/cut use its own temporary buffer (like paste) so we can guarantee that TempBuffer if not altered and can be preserved. Renamed TempBufferA to TextA to celebrate this.
omar committed on 21 Feb 2019
@omar
Internal: InputText: Renamed is_editable to !is_readonly, Hopefully more explicit. Renamed internal member. Shuffled some code. Added comments, assert (_will_ trigger on !readonly > readonly edge, old bug).
omar committed on 21 Feb 2019
@omar
InputText: Fixed an edge case crash that would happen if another widget sharing the same ID is being swapped with an InputText that has yet to be activated.
omar committed on 21 Feb 2019
@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