Lines Matching refs:maRect

151     Rectangle       maRect;  member in ImplTBDragMgr
1204 if ( nLast || !it->maRect.IsEmpty() ) in ImplFindItemPos()
1209 ((nLast < it->maRect.Top()) || it->maRect.IsEmpty()) ) in ImplFindItemPos()
1212 if ( aPos.Y() <= it->maRect.Bottom() ) in ImplFindItemPos()
1214 if ( aPos.X() < it->maRect.Left() ) in ImplFindItemPos()
1216 else if ( aPos.X() < it->maRect.Right() ) in ImplFindItemPos()
1219 nLast = it->maRect.Bottom(); in ImplFindItemPos()
1225 ((nLast < it->maRect.Left()) || it->maRect.IsEmpty()) ) in ImplFindItemPos()
1228 if ( aPos.X() <= it->maRect.Right() ) in ImplFindItemPos()
1230 if ( aPos.Y() < it->maRect.Top() ) in ImplFindItemPos()
1232 else if ( aPos.Y() < it->maRect.Bottom() ) in ImplFindItemPos()
1235 nLast = it->maRect.Right(); in ImplFindItemPos()
1343 maRect = rRect; in StartDragging()
1346 pToolBox->ShowTracking( maRect ); in StartDragging()
1355 ToolBox::ImplLineSizing( mpDragBox, rPos, maRect, mnLineMode ); in Dragging()
1357 maRect.Move( aOff.X(), aOff.Y() ); in Dragging()
1358 mpDragBox->Docking( rPos, maRect ); in Dragging()
1359 maRect.Move( -aOff.X(), -aOff.Y() ); in Dragging()
1360 mpDragBox->ShowTracking( maRect ); in Dragging()
1372 maRect.Right() = maStartRect.Left()+nXOff; in Dragging()
1376 maRect.SetPos( rPos ); in Dragging()
1377 maRect.Move( maMouseOff.X(), maMouseOff.Y() ); in Dragging()
1379 mpDragBox->ShowTracking( maRect ); in Dragging()
1401 mpDragBox->EndDocking( maRect, sal_False ); in EndDragging()
1415 if ( bOK && (maRect != maStartRect) ) in EndDragging()
1421 aSize.Width() = maRect.GetWidth(); in EndDragging()
1433 Rectangle aScreenRect( maRect ); in EndDragging()
1479 mpDragBox->ShowTracking( maRect ); in UpdateDragRect()
2551 it->maRect = aEmptyRect; in ImplFormat()
2581 Rectangle aOldMenubuttonRect = mpData->maMenubuttonItem.maRect; in ImplFormat()
2585 mpData->maMenubuttonItem.maRect = aEmptyRect; in ImplFormat()
2634 mpData->maMenubuttonItem.maRect.Right() = mnDX - 2; in ImplFormat()
2635 mpData->maMenubuttonItem.maRect.Top() = nTop; in ImplFormat()
2636 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY-mnBottomBorder-mnBorderY-TB_BORDER_OFFSET2-1; in ImplFormat()
2640 … mpData->maMenubuttonItem.maRect.Right() = mnDX - mnRightBorder-mnBorderX-TB_BORDER_OFFSET1-1; in ImplFormat()
2641 mpData->maMenubuttonItem.maRect.Top() = nTop; in ImplFormat()
2642 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY-mnBottomBorder-mnBorderY-TB_BORDER_OFFSET2-1; in ImplFormat()
2644 …mpData->maMenubuttonItem.maRect.Left() = mpData->maMenubuttonItem.maRect.Right() - mpData->mnMenuB… in ImplFormat()
2665 mpData->maMenubuttonItem.maRect.Bottom() = mnDY - 2; in ImplFormat()
2666 mpData->maMenubuttonItem.maRect.Left() = nLeft; in ImplFormat()
2667 … mpData->maMenubuttonItem.maRect.Right() = mnDX-mnRightBorder-mnBorderX-TB_BORDER_OFFSET2-1; in ImplFormat()
2671 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY - mnBottomBorder-mnBorderY-TB_BORDER_OFFSET1-1; in ImplFormat()
2672 mpData->maMenubuttonItem.maRect.Left() = nLeft; in ImplFormat()
2673 … mpData->maMenubuttonItem.maRect.Right() = mnDX-mnRightBorder-mnBorderX-TB_BORDER_OFFSET2-1; in ImplFormat()
2675 …mpData->maMenubuttonItem.maRect.Top() = mpData->maMenubuttonItem.maRect.Bottom() - mpData->mnMenuB… in ImplFormat()
2821 rIt.maRect.Left() = nX+TB_MENUBUTTON_OFFSET; in ImplFormat()
2822 rIt.maRect.Top() = nY; in ImplFormat()
2823 rIt.maRect.Right() = rIt.maRect.Left() + mpData->mnMenuButtonWidth; in ImplFormat()
2824 rIt.maRect.Bottom() = nY+nLineSize-1; in ImplFormat()
2829 rIt.maRect.Left() = nX; in ImplFormat()
2830 rIt.maRect.Top() = nY+TB_MENUBUTTON_OFFSET; in ImplFormat()
2831 rIt.maRect.Right() = nX+nLineSize-1; in ImplFormat()
2832 rIt.maRect.Bottom() = rIt.maRect.Top() + mpData->mnMenuButtonWidth; in ImplFormat()
2863 if ( aOldMenubuttonRect != mpData->maMenubuttonItem.maRect ) in ImplFormat()
2865 maPaintRect.Union( mpData->maMenubuttonItem.maRect ); in ImplFormat()
2877 if ( it->maRect != it->maCalcRect ) in ImplFormat()
2879 maPaintRect.Union( it->maRect ); in ImplFormat()
2895 it->maRect = it->maCalcRect; in ImplFormat()
2896 if (!it->maRect.IsOver(aVisibleRect)) in ImplFormat()
3221 if( !pThis->mpData->maMenubuttonItem.maRect.IsEmpty() ) in ImplDrawMenubutton()
3236 Rectangle aInnerRect( pThis->mpData->maMenubuttonItem.maRect ); in ImplDrawMenubutton()
3269 …ImplErase( pThis, bNativeButtons ? pThis->mpData->maMenubuttonItem.maRect : aInnerRect, bHighlight… in ImplDrawMenubutton()
3274 …ImplDrawButton( pThis, pThis->mpData->maMenubuttonItem.maRect, 2, sal_False, sal_True, sal_False ); in ImplDrawMenubutton()
3453 if ( pItem->maRect.IsEmpty() ) in ImplDrawItem()
3485 nSlim = (pItem->maRect.Bottom() - pItem->maRect.Top ()) / 4; in ImplDrawItem()
3486 nCenterPos = pItem->maRect.Center().X(); in ImplDrawItem()
3487 DrawLine( Point( nCenterPos, pItem->maRect.Top() + nSlim ), in ImplDrawItem()
3488 Point( nCenterPos, pItem->maRect.Bottom() - nSlim ) ); in ImplDrawItem()
3492 nSlim = (pItem->maRect.Right() - pItem->maRect.Left ()) / 4; in ImplDrawItem()
3493 nCenterPos = pItem->maRect.Center().Y(); in ImplDrawItem()
3494 DrawLine( Point( pItem->maRect.Left() + nSlim, nCenterPos ), in ImplDrawItem()
3495 Point( pItem->maRect.Right() - nSlim, nCenterPos ) ); in ImplDrawItem()
3527 DrawRect( pItem->maRect ); in ImplDrawItem()
3530 Point aPos( pItem->maRect.Left()+2, pItem->maRect.Top() ); in ImplDrawItem()
3531 aPos.Y() += (pItem->maRect.GetHeight()-aSize.Height())/2; in ImplDrawItem()
3533 if ( (aSize.Width() > pItem->maRect.GetWidth()-2) || in ImplDrawItem()
3534 (aSize.Height() > pItem->maRect.GetHeight()-2) ) in ImplDrawItem()
3537 Rectangle aTempRect( pItem->maRect.Left()+1, pItem->maRect.Top()+1, in ImplDrawItem()
3538 pItem->maRect.Right()-1, pItem->maRect.Bottom()-1 ); in ImplDrawItem()
3563 Size aBtnSize = pItem->maRect.GetSize(); in ImplDrawItem()
3571 if( aArrowRect.Top() == pItem->maRect.Top() ) // dropdown arrow on right side in ImplDrawItem()
3577 Rectangle aButtonRect( pItem->maRect.TopLeft(), aBtnSize ); in ImplDrawItem()
3616 ImplErase( this, pItem->maRect, bHighlight, bHasOpenPopup ); in ImplDrawItem()
3631 nOffX += pItem->maRect.Left(); in ImplDrawItem()
3632 nOffY += pItem->maRect.Top(); in ImplDrawItem()
3760 …ImplDrawButton( this, pItem->maRect, bHighlight, pItem->meState == STATE_CHECK, pItem->mbEnabled &… in ImplDrawItem()
3828 if ( !(it->maRect.IsEmpty()) ) in ImplStartCustomizeMode()
3829 Invalidate( it->maRect ); in ImplStartCustomizeMode()
3857 if ( !(it->maRect.IsEmpty()) ) in ImplEndCustomizeMode()
3858 Invalidate( it->maRect ); in ImplEndCustomizeMode()
3871 if ( !pItem->maRect.IsEmpty() ) in ImplDrawFloatwinBorder()
3878 p1 = pItem->maRect.TopLeft(); in ImplDrawFloatwinBorder()
3880 p2 = pItem->maRect.TopRight(); in ImplDrawFloatwinBorder()
3883 p1 = pItem->maRect.BottomLeft(); in ImplDrawFloatwinBorder()
3885 p2 = pItem->maRect.BottomRight(); in ImplDrawFloatwinBorder()
3889 p1 = pItem->maRect.TopLeft(); in ImplDrawFloatwinBorder()
3891 p2 = pItem->maRect.BottomLeft(); in ImplDrawFloatwinBorder()
3894 p1 = pItem->maRect.TopRight(); in ImplDrawFloatwinBorder()
3896 p2 = pItem->maRect.BottomRight(); in ImplDrawFloatwinBorder()
3990 if ( pItem->maRect.IsInside( aMousePos ) ) in ImplHandleMouseMove()
4090 if ( pItem->maRect.IsInside( rMEvt.GetPosPixel() ) ) in ImplHandleMouseButtonUp()
4227 if ( it->maRect.IsInside( aMousePos ) ) in MouseMove()
4318 if ( it->maRect.IsInside( aMousePos ) ) in MouseMove()
4320 if ( it->maRect.Right()-TB_RESIZE_OFFSET <= aMousePos.X() ) in MouseMove()
4339 if ( it->maRect.IsInside( aMousePos ) ) in MouseMove()
4378 sal_Bool bMenuButtonHit = mpData->maMenubuttonItem.maRect.IsInside( aMousePos ); in MouseMove()
4445 if ( it->maRect.IsInside( aMousePos ) ) in MouseButtonDown()
4475 (it->maRect.Right()-TB_RESIZE_OFFSET <= aMousePos.X()) ) in MouseButtonDown()
4579 if( mpData->maMenubuttonItem.maRect.IsInside( aMousePos ) ) in MouseButtonDown()
4734 if ( !pItem->maRect.IsEmpty() && rPaintRect.IsOver( pItem->maRect ) ) in Paint()
5037 if ( it->maRect.IsInside( aMousePos ) ) in Command()