Coding style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39618 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-11-24 22:55:57 +00:00
parent 78f7f8745e
commit b3b7517070

View File

@ -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;
};