summaryrefslogtreecommitdiff
path: root/src/display_buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-10-14 14:29:53 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-10-14 14:29:53 +0000
commit26459abf8aef509ee45831bcfd1a541bbf831355 (patch)
tree204518d63b9a2e4e642001de8686c4095dd278d9 /src/display_buffer.hh
parentc5be69a9a996d2f5694709017c23097b2cd9cc1f (diff)
WindowCoord: rename to DisplayCoord and move with DisplayBuffer
Diffstat (limited to 'src/display_buffer.hh')
-rw-r--r--src/display_buffer.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh
index 7f022b8c..a3451c35 100644
--- a/src/display_buffer.hh
+++ b/src/display_buffer.hh
@@ -4,11 +4,19 @@
#include <string>
#include <vector>
+#include "line_and_column.hh"
+
#include "buffer.hh"
namespace Kakoune
{
+struct DisplayCoord : LineAndColumn<DisplayCoord>
+{
+ DisplayCoord(int line = 0, int column = 0)
+ : LineAndColumn(line, column) {}
+};
+
typedef int Attribute;
enum Attributes