Lines Matching refs:aBtnSize
1367 Size aBtnSize = aButton.GetSizePixel(); in GetListValButtonRect() local
1391 if ( nAvailable < aBtnSize.Width() ) in GetListValButtonRect()
1392 aBtnSize.Width() = nAvailable; in GetListValButtonRect()
1393 if ( nCellSizeY < aBtnSize.Height() ) in GetListValButtonRect()
1394 aBtnSize.Height() = nCellSizeY; in GetListValButtonRect()
1399 … aPos.X() -= aBtnSize.Width() * nLayoutSign; // right edge of cell if next cell not available in GetListValButtonRect()
1400 aPos.Y() += nCellSizeY - aBtnSize.Height(); in GetListValButtonRect()
1404 aPos.X() -= aBtnSize.Width()-1; // align right edge of button with cell border in GetListValButtonRect()
1406 return Rectangle( aPos, aBtnSize ); in GetListValButtonRect()
1452 Size aBtnSize = aComboButton.GetSizePixel(); in DrawComboButton() local
1454 if ( nCellSizeX < aBtnSize.Width() || nCellSizeY < aBtnSize.Height() ) in DrawComboButton()
1456 if ( nCellSizeX < aBtnSize.Width() ) in DrawComboButton()
1457 aBtnSize.Width() = nCellSizeX; in DrawComboButton()
1459 if ( nCellSizeY < aBtnSize.Height() ) in DrawComboButton()
1460 aBtnSize.Height() = nCellSizeY; in DrawComboButton()
1462 aComboButton.SetSizePixel( aBtnSize ); in DrawComboButton()
1470 aScrPos.X() += nCellSizeX - aBtnSize.Width(); in DrawComboButton()
1471 aScrPos.Y() += nCellSizeY - aBtnSize.Height(); in DrawComboButton()