Searched refs:thumb_y (Results 1 – 2 of 2) sorted by relevance
131 const int thumb_y = (1.0 - value) * (content.height() - thumb_->height()); in PrepareForMove() local132 const int candidate_y = point.y() - thumb_y; in PrepareForMove()236 int thumb_y = content.height() / 2 - thumb_->height() / 2; in OnPaint() local237 canvas->DrawImageInt(*thumb_, button_cx, thumb_y); in OnPaint()
106 int thumb_y = event.y() - mouse_offset_; in OnMouseDragged() local107 scroll_bar_->ScrollToThumbPosition(GetPosition() + thumb_y, false); in OnMouseDragged()