2019-02-27 |
InputInt, InputScalar: +/- buttons now respects the natural type limits instead of overflowing or underflowing the value.
omar
committed
on 27 Feb 2019
|
---|---|
DragScalar, InputScalar, SliderScalar: Added support for u8/s8/u16/s16 data types. We are reusing function instances for larger types to reduce code size. (#643, #320, #708, #1011)
omar
committed
on 27 Feb 2019
|
|
Internal: InputText: Tweaks to make PVS static analyzer relax a little with its false positive.
omar
committed
on 27 Feb 2019
|
|
Renamed ColorEdit/ColorPicker's ImGuiColorEditFlags_RGB/_HSV/_HEX flags to respectively ImGuiColorEditFlags_DisplayRGB/_DisplayHSV/_DisplayHex. This is anticipation of adding new flags to ColorEdit/ColorPicker functions which would make those ambiguous. (#2384) [@haldean]
omar
committed
on 27 Feb 2019
|
|
add _Show prefix to color flags that control inputs, rename __InputsMask to __ShowMask
...
haldean
authored
on 26 Feb 2019
omar
committed
on 27 Feb 2019
|
|
Plot: Fixed error in 5e3a1de (#2387)
omar
committed
on 27 Feb 2019
|
|
Plot: Fixed divide-by-zero in PlotLines() when passing a count of 1. (#2387) [@Lectem]
omar
committed
on 27 Feb 2019
|
|
2019-02-26 |
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
|
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 |
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 |
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
|
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 |
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
|
TabBar: Fixed a crash when using BeginTabBar() recursively (didn't affect docking). (#2371)
...
omar
committed
on 22 Feb 2019
|
|
2019-02-21 |
Internal: InputText: Tweaks (including a large indentation change, compare ignoring space) to make next commit more digestible.
omar
committed
on 21 Feb 2019
|
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
|
|
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
|
|
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
|
|
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
|
|
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 |
Internal: InputText: Comments. Renamed internal member. Renamed ImGuiStb->ImStb.
omar
committed
on 20 Feb 2019
|
2019-02-19 |
InputText: Renamed some local variables to clarify code. Should be a no-op functionality wise. TODO items.
omar
committed
on 19 Feb 2019
|
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
|
|
Version 1.69 WIP
omar
committed
on 19 Feb 2019
|
|
Internal: Changed Scrollbar() signature. Using GetScrollbarID() in InputTextMultiline().
...
omar
committed
on 19 Feb 2019
|
|
Fixed unused argument warning when compiling with IM_ASERT() evaluating to an empty macro.
omar
committed
on 19 Feb 2019
|
|
Version 1.68
omar
committed
on 19 Feb 2019
|
|
2019-02-14 |
Selectable: add support for specifying text alignment on selectables (#2347)
...
haldean
authored
on 13 Feb 2019
omar
committed
on 14 Feb 2019
|
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 |
Shallow tweaks
omar
committed
on 12 Feb 2019
|