Home
last modified time | relevance | path

Searched refs:scroll_y (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp4036 float scroll_y = is_multiline ? draw_window->Scroll.y : FLT_MAX; in InputTextEx() local
4272 else if (IsKeyPressedMap(ImGuiKey_PageUp) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGUP | k_mask); scroll_y -= row_count_per_page * g.FontSize; } in InputTextEx()
4273 else if (IsKeyPressedMap(ImGuiKey_PageDown) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGDOWN | k_mask); scroll_y += row_count_per_page * g.FontSize; } in InputTextEx()
4650 if (cursor_offset.y - g.FontSize < scroll_y) in InputTextEx()
4651 scroll_y = ImMax(0.0f, cursor_offset.y - g.FontSize); in InputTextEx()
4652 else if (cursor_offset.y - inner_size.y >= scroll_y) in InputTextEx()
4653 scroll_y = cursor_offset.y - inner_size.y + style.FramePadding.y * 2.0f; in InputTextEx()
4655 scroll_y = ImClamp(scroll_y, 0.0f, scroll_max_y); in InputTextEx()
4656 draw_pos.y += (draw_window->Scroll.y - scroll_y); // Manipulat in InputTextEx()
[all...]
H A Dimgui.cpp8103 void ImGui::SetScrollY(ImGuiWindow* window, float scroll_y) in SetScrollY() argument
8105 window->ScrollTarget.y = scroll_y; in SetScrollY()
8116 void ImGui::SetScrollY(float scroll_y) in SetScrollY() argument
8119 SetScrollY(g.CurrentWindow, scroll_y); in SetScrollY()
H A Dimgui.h393 IMGUI_API void SetScrollY(float scroll_y); // set scrolling amount [0 .. GetScrollMaxY()]
H A Dimgui_internal.h2433 IMGUI_API void SetScrollY(ImGuiWindow* window, float scroll_y);
H A Dimgui_demo.cpp2866 float scroll_y = ImGui::GetScrollY(); in ShowDemoWindowLayout() local
2869 ImGui::Text("%.0f/%.0f", scroll_y, scroll_max_y); in ShowDemoWindowLayout()
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp3702 float scroll_y = draw_window->Scroll.y;
3703 if (cursor_offset.y - g.FontSize < scroll_y)
3704 scroll_y = ImMax(0.0f, cursor_offset.y - g.FontSize);
3705 else if (cursor_offset.y - size.y >= scroll_y)
3706 scroll_y = cursor_offset.y - size.y;
3707 draw_window->DC.CursorPos.y += (draw_window->Scroll.y - scroll_y); // To avoid a frame of lag
3708 draw_window->Scroll.y = scroll_y;
H A Dimgui.h294 IMGUI_API void SetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()]
H A Dimgui.cpp6412 void ImGui::SetScrollY(float scroll_y) in SetScrollY() argument
6415 window->ScrollTarget.y = scroll_y + window->TitleBarHeight() + window->MenuBarHeight(); // title bar height canceled out when using ScrollTargetRelY in SetScrollY()

Completed in 92 milliseconds