Lines Matching refs:shift_x
731 …creen_flow_diagram_win::ShiftLeft(CRect scaled_rect, CRect client, INT scaled_shift_x, INT shift_x) in ShiftLeft() argument
744 shift_x = left - mpDragItem->rect.left; in ShiftLeft()
746 else if (mpDragItem->rect.left + shift_x >= mpDragItem->rect.right - MIN_SCREEN_BOX_SIZE) in ShiftLeft()
749 shift_x = mpDragItem->rect.right - MIN_SCREEN_BOX_SIZE - mpDragItem->rect.left; in ShiftLeft()
750 scaled_shift_x = shift_x * mScale / 100; in ShiftLeft()
753 if (shift_x) in ShiftLeft()
755 mpDragItem->rect.left += shift_x; in ShiftLeft()
791 …reen_flow_diagram_win::ShiftRight(CRect scaled_rect, CRect client, INT scaled_shift_x, INT shift_x) in ShiftRight() argument
804 shift_x = right - mpDragItem->rect.right; in ShiftRight()
806 else if (mpDragItem->rect.right + shift_x <= mpDragItem->rect.left + MIN_SCREEN_BOX_SIZE) in ShiftRight()
809 shift_x = mpDragItem->rect.left + MIN_SCREEN_BOX_SIZE - mpDragItem->rect.right; in ShiftRight()
810 scaled_shift_x = shift_x * mScale / 100; in ShiftRight()
813 if (shift_x) in ShiftRight()
815 mpDragItem->rect.right += shift_x; in ShiftRight()
872 int shift_x = point.x * 100 / mScale - mDragStart.x * 100 / mScale; in OnMouseMove() local
891 shift_x = left - mpDragItem->rect.left; in OnMouseMove()
894 if (shift_x) in OnMouseMove()
896 mpDragItem->rect.left += shift_x; in OnMouseMove()
897 mpDragItem->rect.right += shift_x; in OnMouseMove()
922 ShiftLeft(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
931 ShiftRight(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
935 ShiftRight(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
940 ShiftRight(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
949 ShiftLeft(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()
953 ShiftLeft(scaled_rect, client, scaled_shift_x, shift_x); in OnMouseMove()