Searched refs:scroll_window (Results 1 – 1 of 1) sorted by relevance
3263 ImGuiWindow* scroll_window = window; in UpdateMouseWheel() local3264 …scroll_window->Flags & ImGuiWindowFlags_ChildWindow) && (scroll_window->Flags & ImGuiWindowFlags_N… in UpdateMouseWheel()3265 scroll_window = scroll_window->ParentWindow; in UpdateMouseWheel()3266 …const bool scroll_allowed = !(scroll_window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(scro… in UpdateMouseWheel()3285 float scroll_amount = 5 * scroll_window->CalcFontSize(); in UpdateMouseWheel()3286 …ll_amount = (float)(int)ImMin(scroll_amount, (scroll_window->ContentsRegionRect.GetHeight() + scro… in UpdateMouseWheel()3287 … SetWindowScrollY(scroll_window, scroll_window->Scroll.y - g.IO.MouseWheel * scroll_amount); in UpdateMouseWheel()3293 float scroll_amount = scroll_window->CalcFontSize(); in UpdateMouseWheel()3294 SetWindowScrollX(scroll_window, scroll_window->Scroll.x - g.IO.MouseWheelH * scroll_amount); in UpdateMouseWheel()