2017-10-20 |
Merge branch 'master' into navigation
omar
committed
on 20 Oct 2017
|
---|---|
Popups: Fixed right-click to close popups not handling modal windows properly. (~#439)
omar
committed
on 20 Oct 2017
|
|
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
|
|
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
|
|
Added OpenPopupOnItemClick(); helper which mimic BeginPopupContextItem() but doesn't do the open.
...
omar
committed
on 20 Oct 2017
|
|
Fixed bad merge from Master
omar
committed
on 20 Oct 2017
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Popups: popups can be closed with a right-click anywhere, without altering focus under the popup.(~#439)
omar
committed
on 20 Oct 2017
|
|
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
|
|
Refactor EndFrame() code that process focusing window with left mouse button. This commit should be no-op.
omar
committed
on 20 Oct 2017
|
|
2017-10-19 |
Merge branch 'master' into navigation
omar
committed
on 19 Oct 2017
|
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
|
|
Documentation: Extra comments + tweaks to make usage of long-line more bearable.
omar
committed
on 19 Oct 2017
|
|
2017-10-18 |
|
Internals: RenderCollapseTriangle() -> RenderTriangle(), takes a ImGuiDir
omar
committed
on 18 Oct 2017
|
|
CollapsingHeader(bool*) variant: fixed for IsItemHovered() to work properly in the nav branch.Basically the close button now has to use ItemAdd() to be navable into, which overwrite the IsItemHovered data. (#600, #787)
omar
committed
on 18 Oct 2017
|
|
CollapsingHeader(bool*) variant: fixed for IsItemHovered() to work properly in the nav branch.Basically the close button now has to use ItemAdd() to be navable into, which overwrite the IsItemHovered data. (#600, #787)
omar
committed
on 18 Oct 2017
|
|
|
|
Internals: ButtonBehavior: made ImGuiButtonFlags_PressedOnClick and ImGuiButtonFlags_PressedOnDoubleClick set the click offset correctly + hold on g.ActiveId so Held state can be reported. Added ImGuiButtonFlags_NoHoldingActiveId flag to disable the later.
omar
committed
on 18 Oct 2017
|
|
Checkbox: Using checkmark. MenuItem: Tweaked checkmark, thicker.
omar
committed
on 18 Oct 2017
|
|
2017-10-17 |
|
Begin: Marked 5 parameters version of Begin() as obsolete. Now waiting for a riot to happen!
omar
committed
on 17 Oct 2017
|
|
Begin: Work toward obsoleting the 5-arguments Begin() overload. Internal BeginEx() becomes the normal public Begin() again! (4)
omar
committed
on 17 Oct 2017
|
|
Begin: Work toward obsoleting the 5-arguments Begin() overload. Removed bg_alpha from internal BeginEx(). (3)
omar
committed
on 17 Oct 2017
|