Lines Matching refs:rStateRect

2288                             const Size& rImageSize, Rectangle& rStateRect,  in ImplDraw()  argument
2330 rStateRect.Left() = rPos.X(); in ImplDraw()
2331 rStateRect.Top() = rMouseRect.Top(); in ImplDraw()
2334 rStateRect.Top() += ( aSize.Height() - rImageSize.Height() ) / 2; in ImplDraw()
2337 rStateRect.Top() -= ( rImageSize.Height() - aSize.Height() ) / 2; in ImplDraw()
2338 if( rStateRect.Top() < 0 ) in ImplDraw()
2339 rStateRect.Top() = 0; in ImplDraw()
2342 rStateRect.Right() = rStateRect.Left() + rImageSize.Width()-1; in ImplDraw()
2343 rStateRect.Bottom() = rStateRect.Top() + rImageSize.Height()-1; in ImplDraw()
2345 if ( rStateRect.Bottom() > rMouseRect.Bottom() ) in ImplDraw()
2346 rMouseRect.Bottom() = rStateRect.Bottom(); in ImplDraw()
2351 rStateRect.Left() = rPos.X()+((rSize.Width()-rImageSize.Width())/2); in ImplDraw()
2353 rStateRect.Left() = rPos.X()+rSize.Width()-rImageSize.Width(); //-1; in ImplDraw()
2355 rStateRect.Left() = rPos.X(); //+1; in ImplDraw()
2357 rStateRect.Top() = rPos.Y()+((rSize.Height()-rImageSize.Height())/2); in ImplDraw()
2359 rStateRect.Top() = rPos.Y()+rSize.Height()-rImageSize.Height(); //-1; in ImplDraw()
2361 rStateRect.Top() = rPos.Y(); //+1; in ImplDraw()
2362 rStateRect.Right() = rStateRect.Left()+rImageSize.Width()-1; in ImplDraw()
2363 rStateRect.Bottom() = rStateRect.Top()+rImageSize.Height()-1; in ImplDraw()
2364 rMouseRect = rStateRect; in ImplDraw()
2366 ImplSetFocusRect( rStateRect ); in ImplDraw()
2417 rStateRect = aImageRect; in ImplDraw()
3389 const Size& rImageSize, Rectangle& rStateRect, in ImplDraw() argument
3426 rStateRect.Left() = rPos.X(); in ImplDraw()
3427 rStateRect.Top() = rMouseRect.Top(); in ImplDraw()
3430 rStateRect.Top() += ( aSize.Height() - rImageSize.Height() ) / 2; in ImplDraw()
3433 rStateRect.Top() -= ( rImageSize.Height() - aSize.Height() ) / 2; in ImplDraw()
3434 if( rStateRect.Top() < 0 ) in ImplDraw()
3435 rStateRect.Top() = 0; in ImplDraw()
3438 rStateRect.Right() = rStateRect.Left()+rImageSize.Width()-1; in ImplDraw()
3439 rStateRect.Bottom() = rStateRect.Top()+rImageSize.Height()-1; in ImplDraw()
3440 if ( rStateRect.Bottom() > rMouseRect.Bottom() ) in ImplDraw()
3441 rMouseRect.Bottom() = rStateRect.Bottom(); in ImplDraw()
3446 rStateRect.Left() = rPos.X()+((rSize.Width()-rImageSize.Width())/2); in ImplDraw()
3448 rStateRect.Left() = rPos.X()+rSize.Width()-rImageSize.Width(); in ImplDraw()
3450 rStateRect.Left() = rPos.X(); in ImplDraw()
3452 rStateRect.Top() = rPos.Y()+((rSize.Height()-rImageSize.Height())/2); in ImplDraw()
3454 rStateRect.Top() = rPos.Y()+rSize.Height()-rImageSize.Height(); in ImplDraw()
3456 rStateRect.Top() = rPos.Y(); in ImplDraw()
3457 rStateRect.Right() = rStateRect.Left()+rImageSize.Width()-1; in ImplDraw()
3458 rStateRect.Bottom() = rStateRect.Top()+rImageSize.Height()-1; in ImplDraw()
3463 rStateRect.Move( 1, 1 ); in ImplDraw()
3464 rMouseRect = rStateRect; in ImplDraw()
3466 ImplSetFocusRect( rStateRect ); in ImplDraw()