Searched refs:menu_is_open (Results 1 – 1 of 1) sorted by relevance
5602 bool menu_is_open = IsPopupOpen(id); in BeginMenu() local5621 …pressed = Selectable(label, menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectable… in BeginMenu()5631 …pressed = Selectable(label, menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectable… in BeginMenu()5664 …want_close = (menu_is_open && !hovered && g.HoveredWindow == window && g.HoveredIdPreviousFrame !=… in BeginMenu()5665 …want_open = (!menu_is_open && hovered && !moving_within_opened_triangle) || (!menu_is_open && hove… in BeginMenu()5669 want_close = menu_is_open; in BeginMenu()5670 want_open = !menu_is_open; in BeginMenu()5681 if (menu_is_open && pressed && menuset_is_open) // Click an open menu again to close it in BeginMenu()5684 want_open = menu_is_open = false; in BeginMenu()5686 …else if (pressed || (hovered && menuset_is_open && !menu_is_open)) // First click to open, then ho… in BeginMenu()[all …]