• Home
  • Raw
  • Download

Lines Matching refs:point

277 FX_FLOAT CFWL_ScrollBar::GetTrackPointPos(const CFX_PointF& point) {  in GetTrackPointPos()  argument
278 CFX_PointF diff = point - m_cpTrackPoint; in GetTrackPointPos()
363 void CFWL_ScrollBar::OnLButtonDown(const CFX_PointF& point) { in OnLButtonDown() argument
370 m_cpTrackPoint = point; in OnLButtonDown()
372 if (m_rtMinBtn.Contains(point)) in OnLButtonDown()
373 DoMouseDown(0, m_rtMinBtn, m_iMinButtonState, point); in OnLButtonDown()
374 else if (m_rtThumb.Contains(point)) in OnLButtonDown()
375 DoMouseDown(1, m_rtThumb, m_iThumbButtonState, point); in OnLButtonDown()
376 else if (m_rtMaxBtn.Contains(point)) in OnLButtonDown()
377 DoMouseDown(2, m_rtMaxBtn, m_iMaxButtonState, point); in OnLButtonDown()
378 else if (m_rtMinTrack.Contains(point)) in OnLButtonDown()
379 DoMouseDown(3, m_rtMinTrack, m_iMinTrackState, point); in OnLButtonDown()
381 DoMouseDown(4, m_rtMaxTrack, m_iMaxTrackState, point); in OnLButtonDown()
387 void CFWL_ScrollBar::OnLButtonUp(const CFX_PointF& point) { in OnLButtonUp() argument
390 DoMouseUp(0, m_rtMinBtn, m_iMinButtonState, point); in OnLButtonUp()
391 DoMouseUp(1, m_rtThumb, m_iThumbButtonState, point); in OnLButtonUp()
392 DoMouseUp(2, m_rtMaxBtn, m_iMaxButtonState, point); in OnLButtonUp()
393 DoMouseUp(3, m_rtMinTrack, m_iMinTrackState, point); in OnLButtonUp()
394 DoMouseUp(4, m_rtMaxTrack, m_iMaxTrackState, point); in OnLButtonUp()
398 void CFWL_ScrollBar::OnMouseMove(const CFX_PointF& point) { in OnMouseMove() argument
399 DoMouseMove(0, m_rtMinBtn, m_iMinButtonState, point); in OnMouseMove()
400 DoMouseMove(1, m_rtThumb, m_iThumbButtonState, point); in OnMouseMove()
401 DoMouseMove(2, m_rtMaxBtn, m_iMaxButtonState, point); in OnMouseMove()
402 DoMouseMove(3, m_rtMinTrack, m_iMinTrackState, point); in OnMouseMove()
403 DoMouseMove(4, m_rtMaxTrack, m_iMaxTrackState, point); in OnMouseMove()
423 const CFX_PointF& point) { in DoMouseDown() argument
424 if (!rtItem.Contains(point)) in DoMouseDown()
436 const CFX_PointF& point) { in DoMouseUp() argument
438 rtItem.Contains(point) ? CFWL_PartState_Hovered : CFWL_PartState_Normal; in DoMouseUp()
450 const CFX_PointF& point) { in DoMouseMove() argument
453 rtItem.Contains(point) ? CFWL_PartState_Hovered : CFWL_PartState_Normal; in DoMouseMove()
460 m_fTrackPos = GetTrackPointPos(point); in DoMouseMove()