Searched refs:target_y (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.cpp4630 float target_y = window->ScrollTarget.y; local in function:CalcNextScrollFromScrollTargetAndClamp
4631 if (snap_on_edges && cr_y <= 0.0f && target_y <= window->WindowPadding.y)
4632 target_y = 0.0f;
4633 if (snap_on_edges && cr_y >= 1.0f && target_y >= window->SizeContents.y - window->WindowPadding.y + g.Style.ItemSpacing.y)
4634 target_y = window->SizeContents.y;
4635 scroll.y = target_y - (1.0f - cr_y) * (window->TitleBarHeight() + window->MenuBarHeight()) - cr_y * (window->SizeFull.y - window->ScrollbarSizes.y);
6432 float target_y = window->DC.CursorPosPrevLine.y - window->Pos.y; // Top of last item, in window space local in function:ImGui::SetScrollHereY
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.
6434 SetScrollFromPosY(target_y, center_y_ratio);
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.cpp4630 float target_y = window->ScrollTarget.y; local in function:CalcNextScrollFromScrollTargetAndClamp
4631 if (snap_on_edges && cr_y <= 0.0f && target_y <= window->WindowPadding.y)
4632 target_y = 0.0f;
4633 if (snap_on_edges && cr_y >= 1.0f && target_y >= window->SizeContents.y - window->WindowPadding.y + g.Style.ItemSpacing.y)
4634 target_y = window->SizeContents.y;
4635 scroll.y = target_y - (1.0f - cr_y) * (window->TitleBarHeight() + window->MenuBarHeight()) - cr_y * (window->SizeFull.y - window->ScrollbarSizes.y);
6432 float target_y = window->DC.CursorPosPrevLine.y - window->Pos.y; // Top of last item, in window space local in function:ImGui::SetScrollHereY
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.
6434 SetScrollFromPosY(target_y, center_y_ratio);

Completed in 33 milliseconds