Searched refs:SetScrollHereY (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp1583 ImGui::SetScrollHereY();
1586 ImGui::SetScrollHereY();
1938 ShowHelpMarker("Use SetScrollHereY() or SetScrollFromPosY() to scroll to a given position.");
1963 ImGui::SetScrollHereY(i * 0.25f); // 0.0f:top, 0.5f:center, 1.0f:bottom
3262 ImGui::SetScrollHereY(1.0f);
3565 ImGui::SetScrollHereY(1.0f);
H A Dimgui.h295 IMGUI_API void SetScrollHereY(float center_y_ratio = 0.5f); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead.
597 // - Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHereY()" when applicable to signify "this is the default item"
1489 static inline void SetScrollHere(float center_ratio=0.5f){ SetScrollHereY(center_ratio); }
H A Dimgui.cpp374 - 2018/09/28 (1.66) - renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete).
2188 // Set cursor position and a few other things so that SetScrollHereY() and Columns() can work when seeking cursor.
2193 window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height; // Setting those fields so that SetScrollHereY() can properly function after the end of our clipper usage.
6429 void ImGui::SetScrollHereY(float center_y_ratio) function in class:ImGui
6464 SetScrollHereY();
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h295 IMGUI_API void SetScrollHereY(float center_y_ratio = 0.5f); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead.
597 // - Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHereY()" when applicable to signify "this is the default item"
1489 static inline void SetScrollHere(float center_ratio=0.5f){ SetScrollHereY(center_ratio); }
H A Dimgui.cpp374 - 2018/09/28 (1.66) - renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete).
2188 // Set cursor position and a few other things so that SetScrollHereY() and Columns() can work when seeking cursor.
2193 window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height; // Setting those fields so that SetScrollHereY() can properly function after the end of our clipper usage.
6429 void ImGui::SetScrollHereY(float center_y_ratio) function in class:ImGui
6464 SetScrollHereY();

Completed in 55 milliseconds