]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.h
remove unneeded includes
[lyx.git] / src / lyxrow.h
index 58329a13385e9359b50371e1ab36ca3252dbbda8..652366abcf4657dfda909758363ef971fb932f74 100644 (file)
 
 #include "support/types.h"
 
-///
+
+namespace lyx {
+
+/**
+ * An on-screen row of text. A paragraph is broken into a
+ * RowList for display. Each Row contains position pointers
+ * into the first and last character positions of that row.
+ */
 class Row {
 public:
        ///
        Row();
        ///
-       Row(lyx::pos_type pos);
+       Row(pos_type pos);
        ///
-       void pos(lyx::pos_type p);
+       void pos(pos_type p);
        ///
-       lyx::pos_type pos() const;
+       pos_type pos() const;
        ///
-       void endpos(lyx::pos_type p);
+       void endpos(pos_type p);
        ///
-       lyx::pos_type endpos() const;
+       pos_type endpos() const;
        ///
        int height() const { return ascent_ + descent_; }
        ///
@@ -51,9 +58,9 @@ public:
 
 private:
        /// first pos covered by this row
-       lyx::pos_type pos_;
+       pos_type pos_;
        /// one behind last pos covered by this row
-       lyx::pos_type end_;
+       pos_type end_;
        ///
        int ascent_;
        ///
@@ -77,4 +84,7 @@ public:
 };
 
 
+
+} // namespace lyx
+
 #endif