Lines Matching refs:aNewPos
125 Point aNewPos(aVisArea.TopLeft()); in MakeVisible() local
132 aNewPos.X() -= aVisAreaSize.Width() / 2; in MakeVisible()
138 aNewPos.X() += aVisAreaSize.Width() / 2; in MakeVisible()
146 while(rRect.Right() > aNewPos.X() + aVisAreaSize.Width()) in MakeVisible()
147 aNewPos.X() += nFreeSpaceX; in MakeVisible()
149 while(rRect.Left() < aNewPos.X()) in MakeVisible()
150 aNewPos.X() -= nFreeSpaceX; in MakeVisible()
158 aNewPos.Y() -= aVisAreaSize.Height() / 2; in MakeVisible()
164 aNewPos.Y() += aVisAreaSize.Height() / 2; in MakeVisible()
172 while(rRect.Bottom() > aNewPos.Y() + aVisAreaSize.Height()) in MakeVisible()
173 aNewPos.Y() += nFreeSpaceY; in MakeVisible()
175 while(rRect.Top() < aNewPos.Y()) in MakeVisible()
176 aNewPos.Y() -= nFreeSpaceY; in MakeVisible()
180 if(aNewPos != aVisArea.TopLeft()) in MakeVisible()
182 aVisArea.SetPos(aNewPos); in MakeVisible()