History for imgui / imgui.cpp
2018-04-27
@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
@omar
Viewport: Fixed issues with popups drifting in particular when reference mouse position become invalid (e.g. changing app focus while viewported-menu is open). Storing monitor index in viewport at beginning of the frame. (#1542)
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
Viewport: Fixed mouse hover flicker on mouse button release frame after moving a window. (#1542) ...
omar committed on 24 Apr 2018
@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
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
@omar
Viewport, Platform: Fixed IME positioning for multi-viewport. Moved API from ImGuiIO to ImGuiPlatformIO. Because it is extremely unlikely to people redefined this API manually the moving-forward-breakage is ok. (#1542) ...
omar committed on 24 Apr 2018
2018-04-23
@omar
Viewport: Clamp windows within monitors + fallback rescue window when it is out of sight (e.g. removed monitor, changed resolution) + Win32: declare primary monitor at the beginning of the list. (#1542)
omar committed on 23 Apr 2018
@omar
Viewports: Todos, Tooltips/menus not automatically forced into their own viewport when the NoMerge flag is set (however the multiplication of viewports makes them more likely to protude and create their own). Win32: try to make primary monitor the first tin the list. (#1542)
omar committed on 23 Apr 2018