]> git.lyx.org Git - features.git/blobdiff - src/lyxcursor.C
merge CursorItem and MathPos
[features.git] / src / lyxcursor.C
index 7a4f74ea48e2c1414fb4c0d983c24efd73961fda..137ea2bccd74e153c62ff97803cd2badc90ff6bd 100644 (file)
@@ -17,7 +17,7 @@
 
 
 LyXCursor::LyXCursor()
-       : par_(0), pos_(0), boundary_(false), x_(0), y_(0)
+       : par_(0), pos_(0), boundary_(false)
 {}
 
 
@@ -33,9 +33,9 @@ lyx::paroffset_type LyXCursor::par() const
 }
 
 
-void LyXCursor::pos(lyx::pos_type p)
+void LyXCursor::pos(lyx::pos_type pos)
 {
-       pos_ = p;
+       pos_ = pos;
 }
 
 
@@ -45,9 +45,9 @@ lyx::pos_type LyXCursor::pos() const
 }
 
 
-void LyXCursor::boundary(bool b)
+void LyXCursor::boundary(bool boundary)
 {
-       boundary_ = b;
+       boundary_ = boundary;
 }
 
 
@@ -57,30 +57,6 @@ bool LyXCursor::boundary() const
 }
 
 
-void LyXCursor::x(int n)
-{
-       x_ = n;
-}
-
-
-int LyXCursor::x() const
-{
-       return x_;
-}
-
-
-void LyXCursor::y(int i)
-{
-       y_ = i;
-}
-
-
-int LyXCursor::y() const
-{
-       return y_;
-}
-
-
 bool operator==(LyXCursor const & a, LyXCursor const & b)
 {
        return a.par() == b.par()