Searched refs:aParentPosSize (Results 1 – 1 of 1) sorted by relevance
124 Rectangle aParentPosSize = xParent->getPosSize(); in centerDialog() local126 Point aWinPos((aParentPosSize.Width - aWinPosSize.Width) / 2, in centerDialog()127 (aParentPosSize.Height - aWinPosSize.Height) / 2); in centerDialog()129 if ( ( aWinPos.X + aWinPosSize.Width ) > ( aParentPosSize.X + aParentPosSize.Width ) ) in centerDialog()130 aWinPos.X = aParentPosSize.X + aParentPosSize.Width - aWinPosSize.Width; in centerDialog()132 if ( ( aWinPos.Y + aWinPosSize.Height ) > ( aParentPosSize.Y + aParentPosSize.Height ) ) in centerDialog()133 aWinPos.Y = aParentPosSize.Y + aParentPosSize.Height - aWinPosSize.Height; in centerDialog()
Completed in 14 milliseconds