]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.C
Changed InsetText * in InsetCollapsable to be a InsetText.
[lyx.git] / src / lyxcursor.C
index 098b385689829e8892baa4e8544630f2543299d2..f8bcef7702a99fd8fab6e85ebab54046bf0d4656 100644 (file)
 
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #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;
@@ -78,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_;
 }