Lines Matching defs:last
942 #define IMGUI_DEBUG_NAV_SCORING 0 // Display navigation scoring preview when hovering items. Display last moving direction matches when holding CTRL
1868 ImGuiStorage::Pair* last = data.Data + data.Size;
1869 size_t count = (size_t)(last - first);
2190 // The clipper should probably have a 4th step to display the last item in a regular manner.
2194 window->DC.PrevLineSize.y = (line_height - GImGui->Style.ItemSpacing.y); // If we end up needing more accurate data (to e.g. use SameLine) we may as well make the clipper have a fourth step to let user process and display the last item in their list.
2855 // When the window is collapsed (SkipItems==true) that last item will never be overwritten so we need to detect the case.
3396 // Save settings (with a delay after the last modification, so we don't spam disk too much)
4287 // Allow last item to be overlapped by a subsequent item. Both may be activated during the same frame before the later one takes priority.
4628 // 'snap_on_edges' allows for a discontinuity at the edge of scrolling limits to take account of WindowPadding so that scrolling to make the last item visible scroll far enough to see the padding.
5005 // Update contents size from last frame for auto-fitting (or use explicit size)
5093 // Update scrollbar status (based on the Size that was effective during last frame or the auto-resized Size).
5438 // Force round operator last to ensure that e.g. (int)(max.x-min.x) in user's render code produce correct result.
5444 // We fill last item data based on Title Bar, in order for IsItemHovered() and IsItemActive() to be usable after Begin().
5453 // Clear 'accessed' flag last thing (After PushClipRect which will set the flag. We want the flag to stay false when the default "Debug" window is unused)
6428 // center_y_ratio: 0.0f top of last item, 0.5f vertical center of last item, 1.0f bottom of last item.
6432 float target_y = window->DC.CursorPosPrevLine.y - window->Pos.y; // Top of last item, in window space
6433 target_y += (window->DC.PrevLineSize.y * center_y_ratio) + (GImGui->Style.ItemSpacing.y * (center_y_ratio - 0.5f) * 2.0f); // Precisely aim above, in the middle or below the last line.
6804 IM_ASSERT(id != 0); // You cannot pass a NULL str_id if the last item has no identifier (e.g. a Text() item)
6980 // You can pass a NULL str_id to use the identifier of the last item.
6985 IM_ASSERT(id != 0); // You cannot pass a NULL str_id if the last item has no identifier (e.g. a Text() item)
7637 // Set mouse position given our knowledge of the navigated item position from last frame
7921 g.NavMoveDir = ImGuiDir_Down; // Because our scoring rect is offset, we intentionally request the opposite direction (so we can always land on the last item)
7928 g.NavMoveDir = ImGuiDir_Up; // Because our scoring rect is offset, we intentionally request the opposite direction (so we can always land on the last item)
9446 // Access private state, we are going to display the draw lists from last frame