Lines Matching defs:where
575 BScrollBar::MouseDown(BPoint where)
589 // special absolute scrolling: move thumb to where we clicked
592 = fPrivateData->fThumbFrame.LeftTop() - where;
601 SetValue(_ValueFor(where + fPrivateData->fClickOffset));
606 if (fPrivateData->fThumbFrame.Contains(where)) {
609 = fPrivateData->fThumbFrame.LeftTop() - where;
621 fPrivateData->fButtonDown = _ButtonFor(where);
642 if (where.y < fPrivateData->fThumbFrame.top)
647 if (where.x < fPrivateData->fThumbFrame.left)
652 _UpdateTargetValue(where);
679 BScrollBar::MouseMoved(BPoint where, uint32 code, const BMessage* dragMessage)
688 SetValue(_ValueFor(where + fPrivateData->fClickOffset));
692 where);
701 _UpdateTargetValue(where);
715 BScrollBar::MouseUp(BPoint where)
1273 BScrollBar::_ValueFor(BPoint where) const
1284 offset = where.y;
1289 offset = where.x;
1316 BScrollBar::_ButtonFor(BPoint where) const
1329 if (rect.Contains(where))
1334 if (rect.Contains(where))
1338 if (rect.Contains(where))
1342 if (rect.Contains(where))
1345 if (rect.Contains(where))
1350 if (rect.Contains(where))
1354 if (rect.Contains(where))
1358 if (rect.Contains(where))
1420 BScrollBar::_UpdateTargetValue(BPoint where)
1423 fPrivateData->fStopValue = _ValueFor(BPoint(where.x, where.y
1426 fPrivateData->fStopValue = _ValueFor(BPoint(where.x
1427 - fPrivateData->fThumbFrame.Width() / 2.0, where.y));