History for imgui / imgui.cpp
2018-01-07
@omar
OpenPopup(): Always reopen existing popup. Removed OpenPopupEx() bool reopen_existing which is always true. This also makes the public API on par with OpenPopupEx(). (#1497, #1533)
omar committed on 7 Jan 2018
@omar
Popups: Gently handle the user mistakenly calling OpenPopup() every frame. (when reopen_existing is true). (#1497)
omar committed on 7 Jan 2018
@omar
Internals: Popup: Renaming fields.
omar committed on 7 Jan 2018
@omar
Popup, Menus: Tweaks and comments.
omar committed on 7 Jan 2018
@omar
Internals: Popup: Explicitely setting up ImGuiPopupRef reduces confusion.
omar committed on 7 Jan 2018
@omar
Popups: Revert aca23fd (Oct 20, 2017). Because 1) I can't seem to find a default. 2) The if is definitively faulty and would have been all true. 3) It looks like possibly the following commit 6ab737a could have made this unnecessary. Not absolutly certain. (~#439)
omar committed on 7 Jan 2018
@omar
Popup: BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid(), OpenPopupOnItemClick() all react on mouse release instead of mouse click. Note that they don't use the full ButtonBehavior() or tracking aabb on both click and release. Applications I've tried seems to behave inconsistently there but on-release-without-tracking is both fairly common and doesn't require extra code for the id tracking. (~#439)
omar committed on 7 Jan 2018
@omar
Internal: ButtonBehavior: Tweak to update g.ActiveIdClickOffset more consistently
omar committed on 7 Jan 2018
@omar
Internal: Reworked FocusFrontMostActiveWindow() so it fits the Nav branch usage as well.
omar committed on 7 Jan 2018
@omar
Internals: Popup: Separating MousePosOnOpen and PopupPosOnOpen. They are equal in the master branch but different in the navigation branch.
omar committed on 7 Jan 2018
@omar
Internals: renamed FocusPreviousWindow() to FocusfrontMostActiveWindow()
omar committed on 7 Jan 2018
@omar
Internals: BringWindowToFront() iterate front to back, faster in majority of use cases.
omar committed on 7 Jan 2018
2018-01-05
@omar
Revert "Internals: Added LastActiveId, LastActiveIdTimer. (#1537)" Will come up with a better design later. ...
omar committed on 5 Jan 2018
@omar
Internals: Added LastActiveId, LastActiveIdTimer. (#1537)
omar committed on 5 Jan 2018
2018-01-03
@omar
Merge of minor left-overs from private work branch to reduce drifts. Should be functionally a no-op.
omar committed on 3 Jan 2018
@omar
Fixed non-popup child windows not honoring the HiddenFrames flag (can't see a reason). Docking relies on this.
omar committed on 3 Jan 2018
@omar
Internals: Settings api tweaks
omar committed on 3 Jan 2018
@omar
DragDrop: Removed IsDragDropActive() (introduced a few days ago, revert 06bea36) as our use case doesn't need it anymore. Will add it if there is a real need.
omar committed on 3 Jan 2018
@omar
Columns: Clear offsets data when columns count changed. (#1525)
omar committed on 3 Jan 2018
@omar
Internals: Renamed ImGuiSimpleColumns to ImGuiMenuColumns to avoid confusion. Reduced internal buffer size (we only use 3 slots).
omar committed on 3 Jan 2018
@omar
Casing tweaks + clarify license copyright (simpler/safer?) (#1346)
omar committed on 3 Jan 2018
@omar
Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData.
omar committed on 3 Jan 2018
@omar
Internals: NextWindow: Renamed, moved functions to member.
omar committed on 3 Jan 2018
@omar
Internals: NextWindow: Using ImGuiCond for consistency.
omar committed on 3 Jan 2018
@omar
Internals: refactored g.SetNextWindow fields into g.NextWindow. structure (so it can be more easily transported/copied)
omar committed on 3 Jan 2018
2018-01-02
@Cory McWilliams
Fix a memory leak of ImGuiColumnsSet's Columns vector. ImVector doesn't call destructors.
Cory McWilliams committed on 2 Jan 2018
@omar
Internals: NewFrame: Shuffled some code around (to minimize upcoming patches)
omar committed on 2 Jan 2018
2017-12-29
@omar
Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side. ...
omar committed on 29 Dec 2017
2017-12-28
@omar
MenuBar: Fixed menu bar pushing a clipping rect outside of its allocated bound (usually unnoticeable).
omar committed on 28 Dec 2017
@omar
Demo: Tweak. Comments. Metrics: Added some Drag and Drop info.
omar committed on 28 Dec 2017