aboutsummaryrefslogtreecommitdiff
path: root/c/layout.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-02 00:09:56 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-02 00:09:56 +0200
commitc624a89b4f1cccfefd60424a3181d76e4692fa4d (patch)
tree3449c8bcc9ad200c01fb2bed3154a68cb0c7c907 /c/layout.h
parenta26488497cc765890dd5dff122a1f08ca6c5ca95 (diff)
downloadEpisodeBrowser-c624a89b4f1cccfefd60424a3181d76e4692fa4d.tar.gz
Add UniqueOk.
Diffstat (limited to 'c/layout.h')
-rw-r--r--c/layout.h8
1 files changed, 4 insertions, 4 deletions
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;