2017-10-23
@omar
Merge branch 'Gargaj-patch-1'
omar committed on 23 Oct 2017
@omar
Examples: DirectX10, DirectX11: Using SetCapture/ReleaseCapture to get correct behavior (#1375) ...
omar committed on 23 Oct 2017
@omar
Examples: DirectX9: Using SetCapture/ReleaseCapture to get correct behavior (#1375)
omar committed on 23 Oct 2017
@omar
Fixed compilation for #1375 + coding style fixes.
omar committed on 23 Oct 2017
@omar
Merge branch 'patch-1' of https://github.com/Gargaj/imgui into Gargaj-patch-1
omar committed on 23 Oct 2017
2017-10-22
@omar
MenuItem(): Tweaks to mimic exact spacing of BeginMenu() when inside a menu bar, which is a little misleading imho but may be useful. (#1387)
omar committed on 22 Oct 2017
@omar
MenuItem(): Tweak to not draw over all horizontal space when in horizontal layout mode. (#1387)
omar committed on 22 Oct 2017
@omar
Merge branch 'inolen-atlas_build_clear_font'
omar committed on 22 Oct 2017
@omar
Font: Renamed ImFont::Clear() to ImFont::ClearOutputData() for consistency with what ImFontAtlas does. DisplayOffset is set by constructor but not reset by ClearOutputData. (#1349)
omar committed on 22 Oct 2017
@omar
Demo: Fixed Fonts "set as default button" not having collading id on collapsed nodes.
omar committed on 22 Oct 2017
@omar
Merge branch 'atlas_build_clear_font' of https://github.com/inolen/imgui into inolen-atlas_build_clear_font
omar committed on 22 Oct 2017
2017-10-20
@omar
Comments
omar committed on 20 Oct 2017
@omar
Popups: Fixed right-click to close popups not handling modal windows properly. (~#439)
omar committed on 20 Oct 2017
@omar
Popups: similarly to previous commit, we fix reopening a popup within a popup stack from truncating the whole stack. This is done by properly refocusing the lower level popup. (~#439)
omar committed on 20 Oct 2017
@omar
Popups: fixed CloseInactivePopups() so that right-clicking to close one level of popups in a popups stack won't close the whole stack. This is done by properly refocusing the lower level popup. Fixes 87ae408 (~#439)
omar committed on 20 Oct 2017
@omar
Added OpenPopupOnItemClick(); helper which mimic BeginPopupContextItem() but doesn't do the open. ...
omar committed on 20 Oct 2017
@omar
BeginPopupContextItem(), BeginPopupContextWindow(): Using newly introduced IsItemHovered() flags to allow reopening another context menu (over same or not same item) with right-click. (#439) (+1 squashed commits)
omar committed on 20 Oct 2017
@omar
IsWindowHovered(): Changed default behavior to now return false is a widget from another window is active + Added support for ImGuiHoveredFlags_AllowWhenBlockedByActiveItem. (relate to drag'n drop idoms: #143)
omar committed on 20 Oct 2017
@omar
IsItemHovered(), IsWindowHovered(): added flags to enable various and more specific behavior. Will enable improvements for popups/context menus and drag'n drop. (relate ~#439, #1013, #143, #925) ...
omar committed on 20 Oct 2017
@omar
Moved IMGUI_DISABLE_OBSOLETE_FUNCTIONS block lower in the imgui.h file so obsolete functions can use flags. Also sane to quarantine them outside of the respectable area.
omar committed on 20 Oct 2017
@omar
Made the ImGuiWindowFlags_NoMove flag inherited from parent to child, so in a setup with RootWindow (no flag) -> Child (NoMove flag) -> SubChild (no flag) user won't be able to move the root window by clicking on SubChild. (#1381)
omar committed on 20 Oct 2017
@omar
Fixed a bug allowing to move a _NoMove window from a child that doesn't have the flag. (#1381) ...
omar committed on 20 Oct 2017
@omar
Popups: popups can be closed with a right-click anywhere, without altering focus under the popup.(~#439)
omar committed on 20 Oct 2017
@omar
Popups: Fixed a bug introduced in 1a35766 which made the BeginPopupContextXXX functions create popups without border. (nb: all that border mess is going away in styling clean up)
omar committed on 20 Oct 2017
@omar
Refactor EndFrame() code that process focusing window with left mouse button. This commit should be no-op.
omar committed on 20 Oct 2017
@omar
Demos: Tweaks of popups/context/menus section.
omar committed on 20 Oct 2017
2017-10-19
@omar
IO: reordering some supposedly private fields.
omar committed on 19 Oct 2017
@omar
Internals: PaintVerts** renamed to ShadeVerts**, moved to imgui_draw.cpp and exposed in imgui_internal.h (+1 squashed commits)
omar committed on 19 Oct 2017
@omar
Documentation: Extra comments + tweaks to make usage of long-line more bearable.
omar committed on 19 Oct 2017
@omar
Internals: Added ImLinearSweep() helper.
omar committed on 19 Oct 2017