Lines Matching refs:scrollpos
393 CSize scrollpos = m_scroll_helper->GetScrollPos(); in OnPaint() local
419 scaled_line_start.x - scrollpos.cx, in OnPaint()
420 scaled_line_start.y - scrollpos.cy, in OnPaint()
421 scaled_line_end.x - scrollpos.cx, in OnPaint()
422 scaled_line_end.y - scrollpos.cy); in OnPaint()
481 rectF.X = (REAL)(scaled_rect.left - scrollpos.cx); in OnPaint()
482 rectF.Y = (REAL)(scaled_rect.top - scrollpos.cy); in OnPaint()
505 CSize scrollpos = m_scroll_helper->GetScrollPos(); in OnLButtonDown() local
506 pt.x += scrollpos.cx; in OnLButtonDown()
507 pt.y += scrollpos.cy; in OnLButtonDown()
521 CSize scrollpos = m_scroll_helper->GetScrollPos(); in OnLButtonDown() local
527 dirty.left -= scrollpos.cx; in OnLButtonDown()
528 dirty.right -= scrollpos.cx; in OnLButtonDown()
529 dirty.top -= scrollpos.cy; in OnLButtonDown()
530 dirty.bottom -= scrollpos.cy; in OnLButtonDown()
570 CSize scrollpos = m_scroll_helper->GetScrollPos(); in OnRButtonUp() local
571 pt.x += scrollpos.cx; in OnRButtonUp()
572 pt.y += scrollpos.cy; in OnRButtonUp()
600 CSize scrollpos = m_scroll_helper->GetScrollPos(); in OnSetFocus() local
602 scaled_rect.OffsetRect(-scrollpos.cx, -scrollpos.cy); in OnSetFocus()
617 CSize scrollpos = m_scroll_helper->GetScrollPos(); in OnKillFocus() local
619 scaled_rect.OffsetRect(-scrollpos.cx, -scrollpos.cy); in OnKillFocus()
642 CSize scrollpos = m_scroll_helper->GetScrollPos(); in FindFirstVisibleItem() local
653 scaled_rect.OffsetRect(-scrollpos.cx, -scrollpos.cy); in FindFirstVisibleItem()
705 CSize scrollpos = m_scroll_helper->GetScrollPos(); in SelectFlowItem() local
707 scaled_rect.OffsetRect(-scrollpos.cx, -scrollpos.cy); in SelectFlowItem()
733 CSize scrollpos = m_scroll_helper->GetScrollPos(); in ShiftLeft() local
735 if (scaled_rect.left - scrollpos.cx + scaled_shift_x < client.left) in ShiftLeft()
741 scaled_shift_x = client.left + scrollpos.cx - scaled_rect.left; in ShiftLeft()
763 CSize scrollpos = m_scroll_helper->GetScrollPos(); in ShiftTop() local
765 if (scaled_rect.top - scrollpos.cy + scaled_shift_y < client.top) in ShiftTop()
771 scaled_shift_y = client.top + scrollpos.cy - scaled_rect.top; in ShiftTop()
793 CSize scrollpos = m_scroll_helper->GetScrollPos(); in ShiftRight() local
795 if (scaled_rect.right - scrollpos.cx + scaled_shift_x> client.right) in ShiftRight()
801 scaled_shift_x = client.right + scrollpos.cx - scaled_rect.right; in ShiftRight()
823 CSize scrollpos = m_scroll_helper->GetScrollPos(); in ShiftBottom() local
825 if (scaled_rect.bottom - scrollpos.cy + scaled_shift_y> client.bottom) in ShiftBottom()
831 scaled_shift_y = client.bottom + scrollpos.cy - scaled_rect.bottom; in ShiftBottom()
858 CSize scrollpos = m_scroll_helper->GetScrollPos(); in OnMouseMove() local
860 pt.x += scrollpos.cx; in OnMouseMove()
861 pt.y += scrollpos.cy; in OnMouseMove()
1150 CSize scrollpos = m_scroll_helper->GetScrollPos(); in SelectedVisible() local
1154 rect.MoveToXY(CPoint(rect.left - scrollpos.cx, rect.top - scrollpos.cy)); in SelectedVisible()
1164 scrollpos.cx += (rect.right - client.right); in SelectedVisible()
1165 m_scroll_helper->SetScrollPos(SB_HORZ, scrollpos.cx, FALSE); in SelectedVisible()
1170 scrollpos.cx += (rect.left - client.left); in SelectedVisible()
1171 m_scroll_helper->SetScrollPos(SB_HORZ, scrollpos.cx, FALSE); in SelectedVisible()
1178 scrollpos.cy += (rect.bottom - client.bottom); in SelectedVisible()
1179 m_scroll_helper->SetScrollPos(SB_VERT, scrollpos.cy, FALSE); in SelectedVisible()
1184 scrollpos.cy += (rect.top - client.top); in SelectedVisible()
1185 m_scroll_helper->SetScrollPos(SB_VERT, scrollpos.cy, FALSE); in SelectedVisible()