X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxcursor.C;h=f8bcef7702a99fd8fab6e85ebab54046bf0d4656;hb=77639efa94ce5c071cf47bfd3ba0026f157a1e6a;hp=098b385689829e8892baa4e8544630f2543299d2;hpb=30eff7526de39a0964fb54e6421ddc2910f7dcba;p=lyx.git diff --git a/src/lyxcursor.C b/src/lyxcursor.C index 098b385689..f8bcef7702 100644 --- a/src/lyxcursor.C +++ b/src/lyxcursor.C @@ -10,9 +10,19 @@ #include +#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_; }