Lines Matching refs:aMousePixel
963 Point aMousePixel = rMEvt.GetPosPixel(); in MouseButtonDown() local
969 if( aMousePixel.Y() >= maTopLeft.Y() && in MouseButtonDown()
970 aMousePixel.Y() < maTopLeft.Y() + RECT_SIZE_PIX ) in MouseButtonDown()
972 if( aMousePixel.X() >= maTopLeft.X() && in MouseButtonDown()
973 aMousePixel.X() < maTopLeft.X() + RECT_SIZE_PIX ) in MouseButtonDown()
976 aMousePixel = maTopLeft; in MouseButtonDown()
979 else if( aMousePixel.X() >= nMiddleX && in MouseButtonDown()
980 aMousePixel.X() < nMiddleX + RECT_SIZE_PIX ) in MouseButtonDown()
983 aMousePixel.Y() = maTopLeft.Y(); in MouseButtonDown()
986 else if( aMousePixel.X() > maBottomRight.X() - RECT_SIZE_PIX && in MouseButtonDown()
987 aMousePixel.X() <= maBottomRight.X() ) in MouseButtonDown()
990 aMousePixel = Point( maBottomRight.X(), maTopLeft.Y() ); in MouseButtonDown()
994 else if( aMousePixel.Y() >= nMiddleY && in MouseButtonDown()
995 aMousePixel.Y() < nMiddleY + RECT_SIZE_PIX ) in MouseButtonDown()
997 if( aMousePixel.X() >= maTopLeft.X() && in MouseButtonDown()
998 aMousePixel.X() < maTopLeft.X() + RECT_SIZE_PIX ) in MouseButtonDown()
1001 aMousePixel.X() = maTopLeft.X(); in MouseButtonDown()
1004 else if( aMousePixel.X() > maBottomRight.X() - RECT_SIZE_PIX && in MouseButtonDown()
1005 aMousePixel.X() <= maBottomRight.X() ) in MouseButtonDown()
1008 aMousePixel.X() = maBottomRight.X(); in MouseButtonDown()
1012 else if( aMousePixel.Y() <= maBottomRight.Y() && in MouseButtonDown()
1013 aMousePixel.Y() > maBottomRight.Y() - RECT_SIZE_PIX ) in MouseButtonDown()
1015 if( aMousePixel.X() >= maTopLeft.X() && in MouseButtonDown()
1016 aMousePixel.X() < maTopLeft.X() + RECT_SIZE_PIX ) in MouseButtonDown()
1019 aMousePixel = Point( maTopLeft.X(), maBottomRight.Y() ); in MouseButtonDown()
1022 else if( aMousePixel.X() >= nMiddleX && in MouseButtonDown()
1023 aMousePixel.X() < nMiddleX + RECT_SIZE_PIX ) in MouseButtonDown()
1026 aMousePixel.Y() = maBottomRight.Y(); in MouseButtonDown()
1029 else if( aMousePixel.X() > maBottomRight.X() - RECT_SIZE_PIX && in MouseButtonDown()
1030 aMousePixel.X() <= maBottomRight.X() ) in MouseButtonDown()
1033 aMousePixel = maBottomRight; in MouseButtonDown()
1040 SetPointerPosPixel( aMousePixel ); in MouseButtonDown()