Lines Matching refs:rStateRect
2291 const Size& rImageSize, Rectangle& rStateRect, in ImplDraw() argument
2333 rStateRect.Left() = rPos.X(); in ImplDraw()
2334 rStateRect.Top() = rMouseRect.Top(); in ImplDraw()
2337 rStateRect.Top() += ( aSize.Height() - rImageSize.Height() ) / 2; in ImplDraw()
2340 rStateRect.Top() -= ( rImageSize.Height() - aSize.Height() ) / 2; in ImplDraw()
2341 if( rStateRect.Top() < 0 ) in ImplDraw()
2342 rStateRect.Top() = 0; in ImplDraw()
2345 rStateRect.Right() = rStateRect.Left() + rImageSize.Width()-1; in ImplDraw()
2346 rStateRect.Bottom() = rStateRect.Top() + rImageSize.Height()-1; in ImplDraw()
2348 if ( rStateRect.Bottom() > rMouseRect.Bottom() ) in ImplDraw()
2349 rMouseRect.Bottom() = rStateRect.Bottom(); in ImplDraw()
2354 rStateRect.Left() = rPos.X()+((rSize.Width()-rImageSize.Width())/2); in ImplDraw()
2356 rStateRect.Left() = rPos.X()+rSize.Width()-rImageSize.Width(); //-1; in ImplDraw()
2358 rStateRect.Left() = rPos.X(); //+1; in ImplDraw()
2360 rStateRect.Top() = rPos.Y()+((rSize.Height()-rImageSize.Height())/2); in ImplDraw()
2362 rStateRect.Top() = rPos.Y()+rSize.Height()-rImageSize.Height(); //-1; in ImplDraw()
2364 rStateRect.Top() = rPos.Y(); //+1; in ImplDraw()
2365 rStateRect.Right() = rStateRect.Left()+rImageSize.Width()-1; in ImplDraw()
2366 rStateRect.Bottom() = rStateRect.Top()+rImageSize.Height()-1; in ImplDraw()
2367 rMouseRect = rStateRect; in ImplDraw()
2369 ImplSetFocusRect( rStateRect ); in ImplDraw()
2420 rStateRect = aImageRect; in ImplDraw()
3392 const Size& rImageSize, Rectangle& rStateRect, in ImplDraw() argument
3429 rStateRect.Left() = rPos.X(); in ImplDraw()
3430 rStateRect.Top() = rMouseRect.Top(); in ImplDraw()
3433 rStateRect.Top() += ( aSize.Height() - rImageSize.Height() ) / 2; in ImplDraw()
3436 rStateRect.Top() -= ( rImageSize.Height() - aSize.Height() ) / 2; in ImplDraw()
3437 if( rStateRect.Top() < 0 ) in ImplDraw()
3438 rStateRect.Top() = 0; in ImplDraw()
3441 rStateRect.Right() = rStateRect.Left()+rImageSize.Width()-1; in ImplDraw()
3442 rStateRect.Bottom() = rStateRect.Top()+rImageSize.Height()-1; in ImplDraw()
3443 if ( rStateRect.Bottom() > rMouseRect.Bottom() ) in ImplDraw()
3444 rMouseRect.Bottom() = rStateRect.Bottom(); in ImplDraw()
3449 rStateRect.Left() = rPos.X()+((rSize.Width()-rImageSize.Width())/2); in ImplDraw()
3451 rStateRect.Left() = rPos.X()+rSize.Width()-rImageSize.Width(); in ImplDraw()
3453 rStateRect.Left() = rPos.X(); in ImplDraw()
3455 rStateRect.Top() = rPos.Y()+((rSize.Height()-rImageSize.Height())/2); in ImplDraw()
3457 rStateRect.Top() = rPos.Y()+rSize.Height()-rImageSize.Height(); in ImplDraw()
3459 rStateRect.Top() = rPos.Y(); in ImplDraw()
3460 rStateRect.Right() = rStateRect.Left()+rImageSize.Width()-1; in ImplDraw()
3461 rStateRect.Bottom() = rStateRect.Top()+rImageSize.Height()-1; in ImplDraw()
3466 rStateRect.Move( 1, 1 ); in ImplDraw()
3467 rMouseRect = rStateRect; in ImplDraw()
3469 ImplSetFocusRect( rStateRect ); in ImplDraw()