Home
last modified time | relevance | path

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

/third_party/mesa3d/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); } in SetScrollHere()
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. in SetCursorPosYAndSetupDummyPrevLine()
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. in SetCursorPosYAndSetupDummyPrevLine()
6429 void ImGui::SetScrollHereY(float center_y_ratio) in SetScrollHereY() function in ImGui
6464 SetScrollHereY(); in SetItemDefaultFocus()
/third_party/skia/third_party/externals/imgui/
H A Dimgui_demo.cpp2803 HelpMarker("Use SetScrollHereY() or SetScrollFromPosY() to scroll to a given vertical position."); in ShowDemoWindowLayout()
2851 if (child_is_visible) // Avoid calling SetScrollHereY when running with culled items in ShowDemoWindowLayout()
2858 ImGui::SetScrollHereY(i * 0.25f); // 0.0f:top, 0.5f:center, 1.0f:bottom in ShowDemoWindowLayout()
2892 if (child_is_visible) // Avoid calling SetScrollHereY when running with culled items in ShowDemoWindowLayout()
6390 ImGui::SetScrollHereY(1.0f);
6696 ImGui::SetScrollHereY(1.0f);
H A Dimgui.h397 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.
830 // - Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHereY()" when applicable to signify "this is the default item"
2865 //static inline void SetScrollHere(float ratio = 0.5f) { SetScrollHereY(ratio); } // OBSOLETED in 1.66 (from Nov 2018)
H A Dimgui.cpp404 - ImGui::SetScrollHere() -> use ImGui::SetScrollHereY()
502 - 2018/09/28 (1.66) - renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete).
2289 // Set cursor position and a few other things so that SetScrollHereY() and Columns() can work when seeking cursor. in SetCursorPosYAndSetupForPrevLine()
2297 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. in SetCursorPosYAndSetupForPrevLine()
8176 void ImGui::SetScrollHereY(float center_y_ratio) in SetScrollHereY() function in ImGui

Completed in 68 milliseconds