diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-27 22:46:56 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-27 22:46:56 -0300 |
commit | 83ec165fddc5f9ee99a8e2aa75d188c45253a0fa (patch) | |
tree | c22bbfb091c2461eca1aca0756cad2fc175643ad /src/client/cursor.cpp | |
parent | dacf6e0625d10ff47d2aad0ca8d705f90f030119 (diff) | |
download | jet-83ec165fddc5f9ee99a8e2aa75d188c45253a0fa.tar.gz jet-83ec165fddc5f9ee99a8e2aa75d188c45253a0fa.zip |
Remove interface class
It felt like a forced abstraction.
Diffstat (limited to 'src/client/cursor.cpp')
-rw-r--r-- | src/client/cursor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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() { |