]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.C
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / lyxcursor.C
index e30bd08eb3bba3d0e7df412970a0fb82b96d50f4..f8bcef7702a99fd8fab6e85ebab54046bf0d4656 100644 (file)
 #include "lyxcursor.h"
 
 
+LyXCursor::LyXCursor() : par_(0), pos_(0), boundary_(false),
+                        x_(0), x_fix_(0), y_(0), row_(0)
+{
+}
+
+
 void LyXCursor::par(LyXParagraph * p) 
 {
        par_ = p;
@@ -82,13 +88,13 @@ int LyXCursor::x_fix() const
 }
 
 
-void LyXCursor::y(unsigned long i)
+void LyXCursor::y(int i)
 {
        y_ = i;
 }
 
 
-unsigned long LyXCursor::y() const
+int LyXCursor::y() const
 {
        return y_;
 }