Searched refs:aDeskSize (Results 1 – 1 of 1) sorted by relevance
388 Size aDeskSize = aDeskRect.GetSize(); in ImplCenterDialog() local393 Point aWinPos( ((aDeskSize.Width() - aWinSize.Width()) / 2) + aDeskPos.X(), in ImplCenterDialog()394 ((aDeskSize.Height() - aWinSize.Height()) / 2) + aDeskPos.Y() ); in ImplCenterDialog()397 if ( (aWinPos.X() + aWinSize.Width()) > (aDeskPos.X()+aDeskSize.Width()) ) in ImplCenterDialog()398 aWinPos.X() = aDeskPos.X()+aDeskSize.Width() - aWinSize.Width(); in ImplCenterDialog()399 if ( (aWinPos.Y()+aWinSize.Height()) > (aDeskPos.Y()+aDeskSize.Height()) ) in ImplCenterDialog()400 aWinPos.Y() = aDeskPos.Y()+aDeskSize.Height() - aWinSize.Height(); in ImplCenterDialog()
Completed in 22 milliseconds