History for imgui / imgui.cpp
2018-05-09
@omar
Internals: Nav: Extracted code into a NavClampToVisibleAreaForMoveDir() + fix debug code + inline some functions, removed obsolete EndChild() comment.
omar committed on 9 May 2018
2018-05-08
@omar
Data types: Fix format srtings with leading blanks. Fix ColorEdit4() to not use obsolete formats (when using IMGUI_DISABLE_OBSOLETE_FUNCTIONS) (#643)
omar committed on 8 May 2018
@omar
Apply fix from data_types branch, some widgets broken when format string doesn't contains a %. Broken by 92f0165. Data_types branch fix c5fb929.
omar committed on 8 May 2018
@omar
Internals: Declaring DragBehavior, SliderBehavior in there (no warantee given) as they may be useful to custom widgets.
omar committed on 8 May 2018
@omar
Data types: Fixed empty format string (or no % specifier) breaking the parsing back of values.
omar committed on 8 May 2018
@omar
Fix to allow compiling in unity builds where stb_rectpack/stb_truetype may be already included in the same compilation unit.
omar committed on 8 May 2018
2018-05-07
@omar
Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory(), io.WantSaveIniSettings. (#923, #993)
omar committed on 7 May 2018
@omar
Internals: Removed unnecessary allocation indirection for g.LogClipboard (this only made sense when there was a global context instance)
omar committed on 7 May 2018
2018-05-04
@omar
SliderScalar, VSliderScalar(): Support for any data types. Tested with various ranges/limits. Note that Drag/Slider/Input currently fail if the format string doesn't preview the actual value. Will fix next. (#320, #643, #708, #1011)
omar committed on 4 May 2018
@omar
Internals: A few selected math helpers are now using template to handle all supported types. Added ImPow() to wrap float/double in a standard manner without calling pow(double) when not needed in Drag code.
omar committed on 4 May 2018
@omar
Internals: Data types: Made format string optional. DragBehavior: Moved a bit of code outside of the template. Slider tidying up. Removed unnecessary call to fabsf().
omar committed on 4 May 2018
@omar
DragFloat, DragInt: Default format string is none is passed to the function. Fixed demo using old style %.0f.
omar committed on 4 May 2018
2018-05-03
@omar
Internals: Missing const, some renaming. Tweak legacy fast path.
omar committed on 3 May 2018
@omar
DragInt, DragScalar: Actually made the fast-past handle the now-most-common case..
omar committed on 3 May 2018
@omar
DragInt: Patch old format strings to replace %f by %d when using the DragInt() entry point. (#320, #643, #708, #1011)
omar committed on 3 May 2018
@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