Coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39618 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
78f7f8745e
commit
b3b7517070
@ -17,21 +17,21 @@ class BMessage;
|
||||
|
||||
class WindowBehaviour {
|
||||
public:
|
||||
WindowBehaviour();
|
||||
virtual ~WindowBehaviour();
|
||||
WindowBehaviour();
|
||||
virtual ~WindowBehaviour();
|
||||
|
||||
//! \return true if event was a WindowBehaviour event and should be discard
|
||||
virtual bool MouseDown(BMessage* message, BPoint where) = 0;
|
||||
virtual void MouseUp(BMessage* message, BPoint where) = 0;
|
||||
virtual void MouseMoved(BMessage *message, BPoint where,
|
||||
bool isFake) = 0;
|
||||
virtual bool MouseDown(BMessage* message, BPoint where) = 0;
|
||||
virtual void MouseUp(BMessage* message, BPoint where) = 0;
|
||||
virtual void MouseMoved(BMessage *message, BPoint where,
|
||||
bool isFake) = 0;
|
||||
|
||||
bool IsDragging() const { return fIsDragging; }
|
||||
bool IsResizing() const { return fIsResizing; }
|
||||
bool IsDragging() const { return fIsDragging; }
|
||||
bool IsResizing() const { return fIsResizing; }
|
||||
|
||||
protected:
|
||||
bool fIsResizing : 1;
|
||||
bool fIsDragging : 1;
|
||||
bool fIsResizing : 1;
|
||||
bool fIsDragging : 1;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user