Searched refs:mousePosXY (Results 1 – 1 of 1) sorted by relevance
945 ImVec2 mousePosXY((io.MousePos.x - pos.x) / size.x, (io.MousePos.y - pos.y) / size.y); in ImGui_DragPrimary() local947 *x = SkTPin(mousePosXY.x, 0.0f, 1.0f) * 0.8f; in ImGui_DragPrimary()948 *y = SkTPin(1 - mousePosXY.y, 0.0f, 1.0f) * 0.9f; in ImGui_DragPrimary()