History for imgui / imgui.cpp
2018-05-03
@omar
Internals: Tidying up internal helpers. Fixed a case ImParseFormatTrimDecorations() can return an off by one (out of bound) pointer if the format string is invalid. Extracted ImParseFormatFindEnd() out of TrimDecorations so we can use it to find the format type and replace the %f in old Int apis.
omar committed on 3 May 2018
@omar
Internals: Fixed DragInt* default format string. InputScalar(), InputScalarN(), removed InputFloatN(), InputInt(). Note that DragInt2/3/4 will %f format strings will currently be broken. (#320, #643, #708, #1011)
omar committed on 3 May 2018
@omar
Internal: DragScalar(), InputScalar() now support signed/unsigned, 32/64 bits, float/double data types. (#320, #643, #708, #1011)
omar committed on 3 May 2018
@omar
Internals: DragFloat: Fixed power handling. Use an temporary accumulator and no absolute values so we will be able to manipulate double as well as 64-bit integers. (#1011, #708, #320)
omar committed on 3 May 2018
@omar
Internals: DragFloat: Removed DragSpeedScaleFast/DragSpeedScaleSlow since it's not yet usable and Nav version doesn't have an equivalent.
omar committed on 3 May 2018
@omar
Internals: Data types: Added s64, u64 data types. Added support in InputScalar(). Removed internal.h InputScalarEx() to InputScalar(). Removed cheap-relative-operators support in recently added U32 data path, since this is heading toward being legacy code. + Fixed InputDouble parsing code. (#1011, #320, #708)
omar committed on 3 May 2018
@omar
Comments about using "power curves". Demo tweaks. (#648)
omar committed on 3 May 2018
@omar
SliderFloat: Fixed grab size and steps with %g format. (#642, #1301)
omar committed on 3 May 2018
@omar
DragFloat/SliderFloat internal InputScalar trim leading/trailing spaces emitted from the format string when presenting an edit box to the user. (#648) ...
omar committed on 3 May 2018
@omar
Internals: Renamed IsCharIsSpace() to IsCharIsBlank*() to match standard terminlogy and added ascii/u16 variations.
omar committed on 3 May 2018
2018-04-30
@omar
Internals: InputScalarEx: Tweak internals so there is a fast path for the simple case. ...
omar committed on 30 Apr 2018
@omar
Internals: Added ImGuiDataType_Uint32 data type which is usable with InputScalarEx().
omar committed on 30 Apr 2018
@omar
Nav: Fixed hovering a Selectable() with the mouse so that it update the navigation cursor. Fixed c8b9b2c6 which was incorrect (#787)
omar committed on 30 Apr 2018
@omar
Internals: Tweaked ParseFormatPrecision(), clarified its more limited purpose, allowing 2-digits precisions since it makes (some) sense for doubles. (#648)
omar committed on 30 Apr 2018
@omar
DragFloat, SliderFloat: Rounding scalar using the provided format string instead of parsed precision. (#648)
omar committed on 30 Apr 2018
@omar
DragFloat/SliderFloat internal InputScalar trip trailing decoration off the format string when presenting an edit box to the user. (#648)
omar committed on 30 Apr 2018
@omar
DragFloat/SliderFloat internal InputScalar relies on the user supplied format string to format and parse value. (#648) ...
omar committed on 30 Apr 2018
2018-04-28
@omar
DragDrop: Removed const qualifier from ImGuiPayload 's void* data, easing casting on user side.
omar committed on 28 Apr 2018
2018-04-27
@omar
InputFloat,InputFloat2,InputFloat3,InputFloat4: Added variations taking a more flexible and consistent optional "const char* format" parameter instead of "int decimal_precision". This allow using custom formats to display values in scientific notation, and is generally more consistent with other API. Obsoleted functions using the optional "int decimal_precision" parameter. (#648)
omar committed on 27 Apr 2018
@omar
Renamed all "display_format" arguments to "format" to emphasis that they also affect rounding of values. (#648, #642)
omar committed on 27 Apr 2018
@omar
SliderFloat, DragFloat: Fix to allow input of scientific notation when Ctrl+Clicking a slider or drag, matching the change done in c19b2781 for InputFloat(). (#648, #1011)
omar committed on 27 Apr 2018
@omar
DragFloat, DragInt: Cancel mouse tweak when current value is initially past the min/max boundaries and mouse is pushing in the same direction (keyboard/gamepad version already did this).
omar committed on 27 Apr 2018
@omar
Internals: DragBehavior: tweaks internals.
omar committed on 27 Apr 2018
@omar
Internals: Reordered parameters of DataTypeFormatString() internal helper functions and shallow tweaks.
omar committed on 27 Apr 2018
@omar
InputText: Fixed returning true when edition is cancelled with Esc and the current buffer matches the initial value.
omar committed on 27 Apr 2018
2018-04-26
@Bruce Mitchener
Fixed static analyzers warnings with bool literals (#1775) ...
Bruce Mitchener authored on 26 Apr 2018 omar committed on 26 Apr 2018
2018-04-25
@omar
Added IMGUI_CHECKVERSION() macro to compare version string and data structure sizes in order to catch issues with mismatching compilation unit settings. (#1695, #1769)
omar committed on 25 Apr 2018
@omar
Misc: Stop moving window if mouse position becomes invalid. Flagged menus are _NoMove for sanity.
omar committed on 25 Apr 2018
@omar
Misc: NavCalcPreferredRefPos selects between mouse and nav reference position + added sanity assert (merged from viewport branch to minimize branch drift).
omar committed on 25 Apr 2018
@omar
Begin: Shuffled some code, _should_ have no side-effect. Clear NextWindowData in one call and more consistently. (merged from viewport branch to minimize branch drift).
omar committed on 25 Apr 2018