History for imgui / imgui.cpp
2017-10-20
@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
2017-10-19
@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
2017-10-18
@omar
Internals: RenderCollapseTriangle() -> RenderTriangle(), takes a ImGuiDir
omar committed on 18 Oct 2017
@omar
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
@omar
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
@omar
Checkbox: Using checkmark. MenuItem: Tweaked checkmark, thicker.
omar committed on 18 Oct 2017
2017-10-17
@omar
Begin: Marked 5 parameters version of Begin() as obsolete. Now waiting for a riot to happen!
omar committed on 17 Oct 2017
@omar
Begin: Work toward obsoleting the 5-arguments Begin() overload. Internal BeginEx() becomes the normal public Begin() again! (4)
omar committed on 17 Oct 2017
@omar
Begin: Work toward obsoleting the 5-arguments Begin() overload. Removed bg_alpha from internal BeginEx(). (3)
omar committed on 17 Oct 2017
@omar
Begin: Work toward obsoleting the 5-arguments Begin() overload. Removed size_on_first_use from internal BeginEx(). (2)
omar committed on 17 Oct 2017
@omar
Begin: Work toward obsoleting the 5-arguments Begin() overload. (1)
omar committed on 17 Oct 2017
2017-10-16
@omar
BeginPopupContextItem() now supports a NULL string identifier and uses the last item ID if available. For interactive items (that have an ID) this works! For non interactive items we assert.
omar committed on 16 Oct 2017
@omar
Fix IsItemHovered() issue on child by temporarily reverting 344d48b. This is not the ideal solution. (Fix #1370)
omar committed on 16 Oct 2017
2017-10-13
@omar
Removed apparently unncessary code in InputFloatN() and InputInt().
omar committed on 13 Oct 2017
@omar
Exposed Scrollbar() in imgui_internal.h and removed a bool arg
omar committed on 13 Oct 2017
2017-10-11
@omar
Rnamed AlignFirstTextHeightToWidgets() to AlignTextToFramePadding(). Kept inline redirection function (will obsolete).
omar committed on 11 Oct 2017
@omar
TreeNode: Added ImGuiTreeNodeFlags_FramePadding flag
omar committed on 11 Oct 2017
2017-10-06
@omar
Internal: ItemAdd(), IsClippedEx(): removed unnecessary indirection for ID parameter
omar committed on 6 Oct 2017
@omar
Removed extraneous calls to GetCurrentWindowRead() when we already have a ImGuiContext. Internal RenderXXX functions also don't need to write into the Accessed field at all.
omar committed on 6 Oct 2017