History for imgui / imgui.cpp
2018-01-15
@omar
Internals: DrawData: renamed fields only (committing separately so that next commit is less nosiy).
omar committed on 15 Jan 2018
2018-01-14
@omar
MovingWindow: Track click offset based on MovingWindow and not its RootWindow. Followup to 3849bb4. Comments + adding a local to ease patch #1345.
omar committed on 14 Jan 2018
2018-01-13
@Crunkle
Fix cross compilers
Crunkle committed on 13 Jan 2018
2018-01-12
@omar
Internals: Merge of harmless stuff from Navigation stuff. Added GetHoveredID() internal helper.
omar committed on 12 Jan 2018
2018-01-11
@omar
Begin: FIx previous commit - no need to call on collapsed window. Handle manual resize (grip, border, gamepad) before setting up window DrawList main clipping rectangle. Sane (and required for viewport code). (#822, #1542)
omar committed on 11 Jan 2018
@omar
Begin: Handle manual resize (grip, border, gamepad) before setting up window DrawList main clipping rectangle. Sane (and required for viewport code). (#822, #1542)
omar committed on 11 Jan 2018
@omar
MovingWindow: Proper fix for 651538e attempt, without altering MovingWindow which has side-effects. Clicking on a window with the ImGuiWIndowFlags_NoMove flags takes an ActiveId so we can't hover something else. (ref #1381, #1337)
omar committed on 11 Jan 2018
@omar
Revert "Clicking on a window with the ImGuiWIndowFlags_NoMove flags takes an ActiveId so we can't hover something else. (ref #1381, #1337)" ...
omar committed on 11 Jan 2018
@omar
Begin: Shuffling bits of code around.
omar committed on 11 Jan 2018
@omar
Clicking on a window with the ImGuiWIndowFlags_NoMove flags takes an ActiveId so we can't hover something else. (ref #1381, #1337)
omar committed on 11 Jan 2018
@omar
Added ImGuiHoveredFlags_AnyWindow, ImGuiFocusedFlags_AnyWindow. Obsoleted IsAnyWindowHovered()/IsAnyWindowFocused() in favor of IsWindowHovered(ImGuiHoveredFlags_AnyWindow)/IsWindowFocused(ImGuiFocusedFlags_AnyWindow). Added to demo. (#1382)
omar committed on 11 Jan 2018
2018-01-10
@omar
Internals: Begin: Refactor some code into an UpdateManualResize() function.
omar committed on 10 Jan 2018
@omar
Internals: Begin: Moved DrawList setup code below, the viewport system will need to push the outer clipping rectangle as late as possible.
omar committed on 10 Jan 2018
@omar
Begin: Moving some code around for the benefits of the wip viewport branch.
omar committed on 10 Jan 2018
@omar
Internals: Using ImFloor().when appropriate.
omar committed on 10 Jan 2018
2018-01-08
@omar
InputText: Added alternative clipboard shortcuts: Shift+Delete (cut), Ctrl+Insert (copy), Shift+Insert (paste). (#1541)
omar committed on 8 Jan 2018
@omar
InputText: Moved code for checking clipboard shortcut so we can expand on it. (#1541)
omar committed on 8 Jan 2018
2018-01-07
@omar
Popups: Comments, reorganize bits of the header section, renamed parameters.
omar committed on 7 Jan 2018
@omar
BeginPopup: Exposed extra_flags publicly. (#1533)
omar committed on 7 Jan 2018
@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