Lines Matching refs:where

69 	virtual bool MouseDown(BMessage* message, BPoint where, bool& _unhandled)
74 virtual void MouseUp(BMessage* message, BPoint where)
78 virtual void MouseMoved(BMessage* message, BPoint where, bool isFake)
82 virtual void ModifiersChanged(BPoint where, int32 modifiers)
97 MouseTrackingState(DefaultWindowBehaviour& behavior, BPoint where,
105 fLastMousePosition(where),
111 virtual void MouseUp(BMessage* message, BPoint where)
140 virtual void MouseMoved(BMessage* message, BPoint where, bool isFake)
162 BPoint delta = where - fLastMousePosition;
214 DragState(DefaultWindowBehaviour& behavior, BPoint where,
217 MouseTrackingState(behavior, where, activateOnMouseUp,
222 virtual bool MouseDown(BMessage* message, BPoint where, bool& _unhandled)
234 return MouseTrackingState::MouseDown(message, where, _unhandled);
259 ResizeState(DefaultWindowBehaviour& behavior, BPoint where,
262 MouseTrackingState(behavior, where, activateOnMouseUp, true)
307 SlideTabState(DefaultWindowBehaviour& behavior, BPoint where)
309 MouseTrackingState(behavior, where, false, false)
376 ResizeBorderState(DefaultWindowBehaviour& behavior, BPoint where,
379 MouseTrackingState(behavior, where, true, false,
423 ResizeBorderState(DefaultWindowBehaviour& behavior, BPoint where,
426 MouseTrackingState(behavior, where, true, false,
523 virtual void MouseUp(BMessage* message, BPoint where)
572 virtual void MouseMoved(BMessage* message, BPoint where, bool isFake)
625 ManageWindowState(DefaultWindowBehaviour& behavior, BPoint where)
628 fLastMousePosition(where),
644 virtual bool MouseDown(BMessage* message, BPoint where, bool& _unhandled)
655 where, fHorizontal, fVertical));
659 virtual void MouseMoved(BMessage* message, BPoint where, bool isFake)
663 if (fDesktop->WindowAt(where) == fWindow) {
664 fLastMousePosition = where;
670 virtual void ModifiersChanged(BPoint where, int32 modifiers)
677 void _UpdateBorders(BPoint where)
682 // Compute the window center relative location of where. We divide by
689 float x = (where.x - (frame.left + frame.right) / 2)
691 float y = (where.y - (frame.top + frame.bottom) / 2)
738 DefaultWindowBehaviour::MouseDown(BMessage* message, BPoint where,
768 bool result = fState->MouseDown(message, where, unhandled);
784 inBorderRegion = decorator->GetFootprint().Contains(where);
926 _NextState(new (std::nothrow) DragState(*this, where,
932 _NextState(new (std::nothrow) ResizeState(*this, where,
938 _NextState(new (std::nothrow) SlideTabState(*this, where));
943 _NextState(new (std::nothrow) ResizeBorderState(*this, where,
957 DefaultWindowBehaviour::MouseUp(BMessage* message, BPoint where)
960 fState->MouseUp(message, where);
965 DefaultWindowBehaviour::MouseMoved(BMessage* message, BPoint where, bool isFake)
968 fState->MouseMoved(message, where, isFake);
972 _NextState(new(std::nothrow) ManageWindowState(*this, where));
990 BPoint where;
992 fDesktop->GetLastMouseState(&where, &buttons);
995 fState->ModifiersChanged(where, modifiers);
999 _NextState(new(std::nothrow) ManageWindowState(*this, where));
1028 BPoint where;
1029 if (message->FindPoint("where", &where) != B_OK)
1032 return decorator->RegionAt(where, tab);