Make UEFI boot-platform build again
[haiku.git] / headers / private / shared / DragTrackingFilter.h
blob9d8eb0f0ce89b164e589913404ff11f23db6f002
1 /*
2 * Copyright 2009, Alexandre Deckner, alex@zappotek.com
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef DRAG_TRACKING_FILTER_H
6 #define DRAG_TRACKING_FILTER_H
8 #include <MessageFilter.h>
9 #include <Point.h>
11 class BView;
12 class BHandler;
14 namespace BPrivate {
16 class DragTrackingFilter : public BMessageFilter {
17 public:
18 DragTrackingFilter(BView* targetView, uint32 messageWhat);
20 filter_result Filter(BMessage* message, BHandler** _target);
22 private:
23 BView* fTargetView;
24 uint32 fMessageWhat;
25 bool fIsTracking;
26 BPoint fClickPoint;
27 uint32 fClickButtons;
30 } // namespace BPrivate
32 using BPrivate::DragTrackingFilter;
34 #endif // DRAG_TRACKING_FILTER_H