Lines Matching refs:rMEvt
608 SCCOLROW ScHeaderControl::GetMousePos( const MouseEvent& rMEvt, sal_Bool& rBorder ) in GetMousePos() argument
615 long nMousePos = bVertical ? rMEvt.GetPosPixel().Y() : rMEvt.GetPosPixel().X(); in GetMousePos()
691 void ScHeaderControl::MouseButtonDown( const MouseEvent& rMEvt ) in MouseButtonDown() argument
700 SCCOLROW nHitNo = GetMousePos( rMEvt, bFound ); in MouseButtonDown()
704 if ( bFound && rMEvt.IsLeft() && ResizeAllowed() ) in MouseButtonDown()
707 sal_uInt16 nClicks = rMEvt.GetClicks(); in MouseButtonDown()
716 nDragStart = rMEvt.GetPosPixel().Y(); in MouseButtonDown()
718 nDragStart = rMEvt.GetPosPixel().X(); in MouseButtonDown()
729 else if (rMEvt.IsLeft()) in MouseButtonDown()
741 pSelEngine->SelMouseButtonDown( rMEvt ); in MouseButtonDown()
746 pSelEngine->SelMouseMove( rMEvt ); in MouseButtonDown()
758 void ScHeaderControl::MouseButtonUp( const MouseEvent& rMEvt ) in MouseButtonUp() argument
775 long nMousePos = bVertical ? rMEvt.GetPosPixel().Y() : rMEvt.GetPosPixel().X(); in MouseButtonUp()
806 pSelEngine->SelMouseButtonUp( rMEvt ); in MouseButtonUp()
811 void ScHeaderControl::MouseMove( const MouseEvent& rMEvt ) in MouseMove() argument
820 (void)GetMousePos( rMEvt, bFound ); in MouseMove()
824 long nNewPos = bVertical ? rMEvt.GetPosPixel().Y() : rMEvt.GetPosPixel().X(); in MouseMove()
838 if ( bFound && rMEvt.GetButtons()==0 && ResizeAllowed() ) in MouseMove()
844 pSelEngine->SelMouseMove( rMEvt ); in MouseMove()