]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.C
more guii moving around.
[lyx.git] / src / lyxcursor.C
index 76e43f76bad945de84b5c6b8206afbddcc638f63..a6caad20241a40d65c2d32797944f3cb597b8414 100644 (file)
@@ -19,7 +19,7 @@
 
 LyXCursor::LyXCursor()
        : par_(0), pos_(0), boundary_(false),
-         x_(0), x_fix_(0), y_(0), row_(0)
+         x_(0), ix_(0), x_fix_(0), y_(0), iy_(0), row_(0)
 {}
 
 
@@ -70,6 +70,17 @@ int LyXCursor::x() const
 }
 
 
+void LyXCursor::ix(int n)
+{
+       ix_ = n;
+}
+
+int LyXCursor::ix() const
+{
+       return ix_;
+}
+
+
 void LyXCursor::x_fix(int i)
 {
        x_fix_ = i;
@@ -94,6 +105,18 @@ int LyXCursor::y() const
 }
 
 
+void LyXCursor::iy(int i)
+{
+       iy_ = i;
+}
+
+
+int LyXCursor::iy() const
+{
+       return iy_;
+}
+
+
 void LyXCursor::row(Row * r)
 {
        row_ = r;
@@ -104,3 +127,15 @@ Row * LyXCursor::row() const
 {
        return row_;
 }
+
+
+void LyXCursor::irow(Row * r)
+{
+       irow_ = r;
+}
+
+
+Row * LyXCursor::irow() const
+{
+       return irow_;
+}