X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxrow.h;h=652366abcf4657dfda909758363ef971fb932f74;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=cc5ec0ed55c4a6e4dd62a7309ce94f8212047c34;hpb=fb70c52b05182d861bd04e7711012c1580414e75;p=lyx.git diff --git a/src/lyxrow.h b/src/lyxrow.h index cc5ec0ed55..652366abcf 100644 --- a/src/lyxrow.h +++ b/src/lyxrow.h @@ -17,6 +17,9 @@ #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 @@ -27,15 +30,15 @@ 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_; } /// @@ -55,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_; /// @@ -81,4 +84,7 @@ public: }; + +} // namespace lyx + #endif