Lines Matching refs:aImageSize
289 Size aImageSize( 0, 0 ); in ImplGetItemSize() local
292 aImageSize = pItem->maTabImage.GetSizePixel(); in ImplGetItemSize()
294 aImageSize.Width() += GetTextHeight()/4; in ImplGetItemSize()
296 aSize.Width() += aImageSize.Width(); in ImplGetItemSize()
297 if( aImageSize.Height() > aSize.Height() ) in ImplGetItemSize()
298 aSize.Height() = aImageSize.Height(); in ImplGetItemSize()
330 aSize.Width() += aImageSize.Width(); in ImplGetItemSize()
343 if( aSize.Height() < aImageSize.Height()+4 ) //leave space for focus rect in ImplGetItemSize()
344 aSize.Height() = aImageSize.Height()+4; in ImplGetItemSize()
708 Size aImageSize( 0, 0 ); in ImplShowFocus() local
720 aImageSize = rItem.maTabImage.GetSizePixel(); in ImplShowFocus()
722 aImageSize.Width() += GetTextHeight()/4; in ImplShowFocus()
728 …aRect.Left() = aRect.Left()+aImageSize.Width()+((aTabSize.Width()-nTextWidth-aImageSize.Width())… in ImplShowFocus()
736 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-1; in ImplShowFocus()
738 if( aImageSize.Height() < aRect.GetHeight() ) in ImplShowFocus()
739 nYPos += (aRect.GetHeight() - aImageSize.Height())/2; in ImplShowFocus()
743 aRect.Right() = aRect.Left() + aImageSize.Width() + 4; in ImplShowFocus()
744 aRect.Bottom() = aRect.Top() + aImageSize.Height() + 4; in ImplShowFocus()
919 Size aImageSize( 0, 0 ); in ImplDrawItem() local
924 aImageSize = pItem->maTabImage.GetSizePixel(); in ImplDrawItem()
926 aImageSize.Width() += GetTextHeight()/4; in ImplDrawItem()
928 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-nOff3; in ImplDrawItem()
935 DrawCtrlText( Point( nXPos + aImageSize.Width(), nYPos ), in ImplDrawItem()
946 if( aImageSize.Height() < aRect.GetHeight() ) in ImplDrawItem()
947 aImgTL.Y() += (aRect.GetHeight() - aImageSize.Height())/2; in ImplDrawItem()