Searched refs:ScrollTargetCenterRatio (Results 1 – 2 of 2) sorted by relevance
2513 ScrollTargetCenterRatio = ImVec2(0.5f, 0.5f); in ImGuiWindow()4623 float cr_x = window->ScrollTargetCenterRatio.x; in CalcNextScrollFromScrollTargetAndClamp()4629 float cr_y = window->ScrollTargetCenterRatio.y; in CalcNextScrollFromScrollTargetAndClamp()6409 window->ScrollTargetCenterRatio.x = 0.0f; in SetScrollX()6416 window->ScrollTargetCenterRatio.y = 0.0f; in SetScrollY()6425 window->ScrollTargetCenterRatio.y = center_y_ratio; in SetScrollFromPosY()7551 window->ScrollTargetCenterRatio.x = 0.0f; in NavScrollToBringItemIntoView()7556 window->ScrollTargetCenterRatio.x = 1.0f; in NavScrollToBringItemIntoView()7561 window->ScrollTargetCenterRatio.y = 0.0f; in NavScrollToBringItemIntoView()7566 window->ScrollTargetCenterRatio.y = 1.0f; in NavScrollToBringItemIntoView()
1147 …ImVec2 ScrollTargetCenterRatio; // 0.0f = scroll so that target positi… member