History for imgui / imgui.cpp
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
@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
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
@Bruce Mitchener
Fix various typos.
Bruce Mitchener authored on 25 Apr 2018 omar committed on 25 Apr 2018
2018-04-24
@omar
Removed presumably obsolete MovingWindow tests which prevent move/merge logic in viewport branch from working in all situations (e.g. docking away when ActiveId is the ID of a tab)
omar committed on 24 Apr 2018
@omar
Internals: Removed misleading ImRect::FixInverted + fix minor formatting in Readme. ...
omar committed on 24 Apr 2018
2018-04-23
@omar
Window: Relaxed the internal stack size checker to allow Push/Begin/Pop/.../End patterns to be used with PushStyleColor, PushStyleVar, PushFont without causing a false positive assert. (#1767)
omar committed on 23 Apr 2018
@omar
InputText: On Mac OS X, support Cmd+Shift+Z for Redo. Cmd+Y is also supported as major apps seems to default to support both. (#1765)
omar committed on 23 Apr 2018
@omar
InputText: tweaks, minor refactoring, renaming + comments (#1695)
omar committed on 23 Apr 2018
2018-04-20
@omar
Columns: Fixed a bug introduced in 1.51 where columns would affect the contents size of their container, often creating feedback loops when ImGuiWindowFlags_AlwaysAutoResize was used. (#1760)
omar committed on 20 Apr 2018
@omar
Window: Fixed windows using the ImGuiWindowFlags_NoSavedSettings flag from not using the same default position as other windows. (#1760)
omar committed on 20 Apr 2018
2018-04-19
@omar
InputText: Tweak to make the if statement more readable + update Changelog (#1747)
omar committed on 19 Apr 2018
@Mikko Sivulainen
on OSX, ignore text input when CMD key is down
Mikko Sivulainen authored on 13 Apr 2018 omar committed on 19 Apr 2018
@omar
Documentations for Github users. Metrics: Fixed display of NavRectRel, added display of ParentWindow.
omar committed on 19 Apr 2018
2018-04-18
@omar
Fixed DisplaySafeAreaPadding not affecting popups/tooltips/menus at it should have (partly broken in 2e5577f).
omar committed on 18 Apr 2018
@omar
BeginMainMenuBar: Followup to 1e41bad9. Removed public window flag. DisplaySafeAreaPadding defaults to (3,3) instead of (4.4). Comments, tab to spaces, Changelog. (#1439)
omar committed on 18 Apr 2018
@Doug Binks
Added DisplaySafeAreaPadding to MainMenuBar height and fixed starting x position. Fixes main menu bar problems with TVs. (#1439)
Doug Binks authored on 18 Apr 2018 omar committed on 18 Apr 2018