From c624a89b4f1cccfefd60424a3181d76e4692fa4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 2 Sep 2022 00:09:56 +0200 Subject: Add UniqueOk. --- c/layout.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/layout.h') diff --git a/c/layout.h b/c/layout.h index 937a50c..07eee56 100644 --- a/c/layout.h +++ b/c/layout.h @@ -21,13 +21,13 @@ struct Dragger protected: bool IsDown() const; bool IsDouble(const long time, const POINT& pt); - virtual bool InDragArea(int x, int y) const; + virtual bool InDragArea(int x, int y) const = 0; /* Perform drag, resizing relevant windows. */ - virtual void Drag(int x, int y) const; + virtual void Drag(int x, int y) const = 0; /* Reset dragger to automatic position. */ - virtual void Reset() const; + virtual void Reset() const = 0; /* Called after drag, when mouse button is released. */ - virtual void Done() const; + virtual void Done() const = 0; private: bool m_bActive = false; long m_time0 = 0; -- cgit v1.2.3