History for imgui / imgui.cpp
2018-05-13
@omar
Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments.
omar committed on 13 May 2018
@omar
Added IMGUI_DISABLE_MATH_FUNCTIONS in imconfig.h to make it slightly easier to redefine wrappers to std maths functions such as fabsf(), fmodf(), etc. Comments.
omar committed on 13 May 2018
2018-05-12
@omar
Data types: DragScalar: Fixed speed of integer values tweaking with keyboard/gamepad when speed < 1. Enforce min/max bounds when power curves are used. SliderScalar: Fixed integer/slow tweaking. (#643)
omar committed on 12 May 2018
2018-05-11
@omar
Data types: DragScalar, InputScalar: default parameters. Added IM_STATIC_ASSERT(). Comments.
omar committed on 11 May 2018
@omar
Documentation tweaks, comments
omar committed on 11 May 2018
@omar
Merge branch 'data_types' ...
omar committed on 11 May 2018
2018-05-10
@omar
Scrolling: Fixed a case where using SetScrollHere(1.0f) at the bottom of a window on the same frame the window height has been growing would have the scroll clamped using the previous height. (#1804)
omar committed on 10 May 2018
2018-05-09
@omar
Combo: Horizontally offset items using WindowPadding instead of Indent, for consistency.
omar committed on 9 May 2018
@omar
Internals: Made ContentsRegionRect absolute to reduce confusion. Renamed InnerRect to InnerMainRect, renamed WindowRectClipper to OuterRectClipped.
omar committed on 9 May 2018
@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