Home
last modified time | relevance | path

Searched refs:center_y_ratio (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui.h295 …IMGUI_API void SetScrollHereY(float center_y_ratio = 0.5f); // adjust …
296 …IMGUI_API void SetScrollFromPosY(float local_y, float center_y_ratio = 0.5f); // adjust …
Dimgui.cpp6419 void ImGui::SetScrollFromPosY(float local_y, float center_y_ratio) in SetScrollFromPosY() argument
6423 IM_ASSERT(center_y_ratio >= 0.0f && center_y_ratio <= 1.0f); in SetScrollFromPosY()
6425 window->ScrollTargetCenterRatio.y = center_y_ratio; in SetScrollFromPosY()
6429 void ImGui::SetScrollHereY(float center_y_ratio) in SetScrollHereY() argument
6433 …target_y += (window->DC.PrevLineSize.y * center_y_ratio) + (GImGui->Style.ItemSpacing.y * (center_… in SetScrollHereY()
6434 SetScrollFromPosY(target_y, center_y_ratio); in SetScrollHereY()