History for imgui / imgui.cpp
2018-04-30
@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
@omar
Viewport: Exposing SetNextWindowViewport(). Used in demo and old/obsolete SetNextWindowPosCenter() (which is an interesting case). Fixed back-end likely crash calling GetFocus() after viewport destruction. Fixed metrics crash.
omar committed on 27 Apr 2018
2018-04-26
@omar
Viewport, Platform: Refresh monitor list (win32, glfw) + avoid calling GetWindowFocus before platform window creation to not require of backend to null-check things inconsistently. (#1542)
omar committed on 26 Apr 2018
@omar
Viewport: Removed unnecessary fields (now that the coordinate system is consistent accross viewports): MouseRefPrevViewport, MouseClickedPosViewportId. (#1542)
omar committed on 26 Apr 2018
@omar
Viewport, Platform: Using Platform_GetWindowFocus to provide a much stronger heuristic of platform z-order, in replacement for when the back-end cannot provide io.MouseHoveredViewport. The pressure for it to work well increased with the use of viewports by popups/menus. (#1542)
omar committed on 26 Apr 2018
@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
Viewport: Moved ScaleWindow* code in a proper location. Various comments.
omar committed on 25 Apr 2018
@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: tweaks + minor changes merged from master to reduce branch drift. Removed code that ended up unused.
omar committed on 25 Apr 2018
@omar
Merge branch 'master' into viewport ...
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
@omar
Misc: Comments and shallow/small changes (merged from viewport branch to minimize branch drift).
omar committed on 25 Apr 2018
@Bruce Mitchener
ImGuiTextBuffer::appendfv needs to va_end the args_copy.
Bruce Mitchener authored on 25 Apr 2018 omar committed on 25 Apr 2018
@omar
Viewport: Avoid creating viewport on drag (fix cc882b0)
omar committed on 25 Apr 2018
@omar
Merge branch 'master' into viewport ...
omar committed on 25 Apr 2018
@omar
Internals: Removed unecessary Pos/PosFloat separation, only reason appears to be mostly pre-1.0. The only piece of code that I expected sub-pixel window position to matter actually already round its delta (wrongly so, will fix later/separately if we want).
omar committed on 25 Apr 2018
@omar
Viewport: Tidying up AddUpdateViewport() calls. Moved flags argument. Removed extraneous mid-frame call to FindPlatformMonitorFromRect(). (#1542)
omar committed on 25 Apr 2018
@omar
Viewport: Fixed glitches with newly appearing menus creating viewport while the underlying imgui window should be hidden. (#1542)
omar committed on 25 Apr 2018