]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.C
Changed InsetText * in InsetCollapsable to be a InsetText.
[lyx.git] / src / lyxcursor.C
index acdad00eeceed2843ec68bcff6096dab078a9daf..f8bcef7702a99fd8fab6e85ebab54046bf0d4656 100644 (file)
@@ -8,9 +8,21 @@
  *
  * ====================================================== */
 
+#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;
@@ -76,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_;
 }