]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.C
more changes, read the Changelog
[lyx.git] / src / lyxrow.C
index 497748628f6538a7cb9a57b2a313bebaab6ad7f3..f5b816e511806188a79a45a0280f0619779e6464 100644 (file)
@@ -14,7 +14,7 @@
 
 
 Row::Row()
-       : par_(0), pos_(0), fill_(0), height_(0),
+       : par_(0), pos_(0), fill_(0), height_(0), width_(0),
          ascent_of_text_(0), baseline_(0), next_(0), previous_(0)
 {}
 
@@ -73,6 +73,18 @@ unsigned short Row::height() const
 }
 
 
+void Row::width(unsigned int w)
+{
+       width_ = w;
+}
+
+
+unsigned int Row::width() const
+{
+       return width_;
+}
+
+
 void Row::ascent_of_text(unsigned short a)
 {
        ascent_of_text_ = a;