2017-10-23 |
Nav: MainMenuBar now releases focus when user gets out of the menu layer. WindowingTarget when applying focus to a window with only menus automatically sets the layer. (#787)
...
omar
committed
on 23 Oct 2017
|
---|---|
|
|
Factorized some code (+ declared as static function without namespace, a pattern with the Nav branch has started to use)
omar
committed
on 23 Oct 2017
|
|
Begin: Minor tweaks
omar
committed
on 23 Oct 2017
|
|
Nav: Fixed handling of ImGuiNavInput_KeyMenu so it doesn't set g.NavWindowingTarget at all, reducing size effects + handling menu layer toggle on Alt Release (#787)
omar
committed
on 23 Oct 2017
|
|
Nav: Added internal ImGuiNavReadMode_Released test for key releases.
omar
committed
on 23 Oct 2017
|
|
Merge branch 'master' into navigation
omar
committed
on 23 Oct 2017
|
|
2017-10-22 |
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
|
MenuItem(): Tweak to not draw over all horizontal space when in horizontal layout mode. (#1387)
omar
committed
on 22 Oct 2017
|
|
2017-10-20 |
Nav: Added ImGuiNavInput_KeyMenu aside from ImGuiNavInput_PadMenu as it is one differenciator between pad and keyboard that's very annoying with the keyboard.
...
omar
committed
on 20 Oct 2017
|
Merge branch 'master' into navigation
omar
committed
on 20 Oct 2017
|
|
Comments
omar
committed
on 20 Oct 2017
|
|
Nav: Honoring ImGuiItemFlags_NoNav which is used by color picker (#787)
omar
committed
on 20 Oct 2017
|
|
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
|