Lines Matching refs:LastItemId
2672 if (window->DC.LastItemId == id)
2717 //IM_ASSERT(g.CurrentWindow->DC.LastItemId == id);
2797 window->DC.LastItemId = id;
2820 // - this should work even for non-interactive items that have no ID, so we cannot use LastItemId
2843 if (g.ActiveId != 0 && g.ActiveId != window->DC.LastItemId && !g.ActiveIdAllowOverlap && g.ActiveId != window->MoveId)
2856 if (window->DC.LastItemId == window->MoveId && window->WriteAccessed)
4212 return g.ActiveId == window->DC.LastItemId;
4223 if (g.ActiveId == window->DC.LastItemId && g.ActiveIdPreviousFrame != window->DC.LastItemId)
4233 return (g.ActiveIdPreviousFrame == window->DC.LastItemId && g.ActiveIdPreviousFrame != 0 && g.ActiveId != window->DC.LastItemId);
4247 if (g.NavId == 0 || g.NavDisableHighlight || g.NavId != window->DC.LastItemId)
4291 if (g.HoveredId == g.CurrentWindow->DC.LastItemId)
4293 if (g.ActiveId == g.CurrentWindow->DC.LastItemId)
5446 window->DC.LastItemId = window->MoveId;
6460 g.NavInitResultId = g.NavWindow->DC.LastItemId;
6593 // If the current ActiveId was declared within the boundary of our group, we copy it to LastItemId so IsItemActive(), IsItemDeactivated() etc. will be functional on the entire group.
6594 // It would be be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets.
6595 // (and if you grep for LastItemId you'll notice it is only used in that context.
6597 window->DC.LastItemId = g.ActiveId;
6599 window->DC.LastItemId = g.ActiveIdPreviousFrame;
6803 ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict!
6984 ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict!
7216 // Degenerate case: two overlapping buttons with same center, break ties arbitrarily (note that LastItemId here is really the _previous_ item order, but it doesn't matter)
7217 quadrant = (window->DC.LastItemId < g.NavId) ? ImGuiDir_Left : ImGuiDir_Right;
8501 source_id = window->DC.LastItemId;
8524 source_id = window->DC.LastItemId = window->GetIDFromRectangle(window->DC.LastItemRect);
8686 ImGuiID id = window->DC.LastItemId;