From 83ec165fddc5f9ee99a8e2aa75d188c45253a0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Mon, 27 Jul 2020 22:46:56 -0300 Subject: Remove interface class It felt like a forced abstraction. --- src/client/cursor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/cursor.cpp') diff --git a/src/client/cursor.cpp b/src/client/cursor.cpp index 226b8a5..65e32bf 100644 --- a/src/client/cursor.cpp +++ b/src/client/cursor.cpp @@ -1,10 +1,8 @@ -class Cursor { +struct Cursor { int x; int y; Window &w; - public: - Cursor(Window &w) : x(0), y(0), w(w) {} char element() { -- cgit v1.2.3