Searched refs:thumb_x (Results 1 – 2 of 2) sorted by relevance
101 int thumb_x = event.x() - mouse_offset_; in OnMouseDragged() local103 thumb_x *= -1; in OnMouseDragged()104 scroll_bar_->ScrollToThumbPosition(GetPosition() + thumb_x, false); in OnMouseDragged()
119 const int thumb_x = value * (content.width() - thumb_->width()); in PrepareForMove() local122 point.x() - inset.left()) - thumb_x; in PrepareForMove()260 int thumb_x = content.width() / 2 - thumb_->width() / 2; in OnPaint() local261 canvas->DrawImageInt(*thumb_, thumb_x, button_cy); in OnPaint()