Lines Matching refs:rPos
219 sal_uInt16 HeaderBar::ImplHitTest( const Point& rPos, in ImplHitTest() argument
231 if ( rPos.X() < (nX+pItem->mnSize) ) in ImplHitTest()
235 if ( !bLastFixed && (rPos.X() < (nX+HEADERBAR_SPLITOFF)) ) in ImplHitTest()
239 nMouseOff = rPos.X()-nX+1; in ImplHitTest()
245 if ( !(pItem->mnBits & HIB_FIXED) && (rPos.X() >= (nX+pItem->mnSize-HEADERBAR_SPLITOFF)) ) in ImplHitTest()
248 nMouseOff = rPos.X()-(nX+pItem->mnSize); in ImplHitTest()
253 nMouseOff = rPos.X()-nX; in ImplHitTest()
271 if ( (pItem->mnSize < 4) && (rPos.X() < (nX+HEADERBAR_SPLITOFF)) ) in ImplHitTest()
274 nMouseOff = rPos.X()-nX+1; in ImplHitTest()
1015 void HeaderBar::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, in Draw() argument
1018 Point aPos = pDev->LogicToPixel( rPos ); in Draw()
1399 sal_uInt16 HeaderBar::GetItemId( const Point& rPos ) const in GetItemId()
1404 if ( ImplGetItemRect( nPos ).IsInside( rPos ) ) in GetItemId()