]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.h
The graphics part of J�rgen S's latest patch + a few tweaks of my own.
[lyx.git] / src / lyxrow.h
index c28fc04381bd194b1ab3966761bf59caf4792186..ac71a2d6615b6b56c1781d4bed02085b52d45103 100644 (file)
@@ -16,7 +16,9 @@
 #pragma interface
 #endif
 
-#include "paragraph.h"
+#include "support/types.h"
+
+class Paragraph;
 
 ///
 class Row {
@@ -30,9 +32,9 @@ public:
        ///
        Paragraph * par() const;
        ///
-       void pos(Paragraph::size_type p);
+       void pos(lyx::pos_type p);
        ///
-       Paragraph::size_type pos() const;
+       lyx::pos_type pos() const;
        ///
        void fill(int f);
        ///
@@ -65,7 +67,7 @@ private:
        ///
        Paragraph * par_;
        ///
-       Paragraph::size_type pos_;
+       lyx::pos_type pos_;
        /** what is missing to a full row can be negative.
          Needed for hfills, flushright, block etc. */
        mutable int fill_;