]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.C
everything is an inset. sizeof(MathInset) == 36 on IA32
[lyx.git] / src / mathed / math_sizeinset.C
index 124f03bce35f214624c283107ba994f998ce7cc8..e498cfdd28b1cdbdeb76db85f4728c08b3c8c165 100644 (file)
@@ -7,7 +7,7 @@
 
 
 MathSizeInset::MathSizeInset(MathStyles st)
-       : MathInset(1), style_(st)
+       : MathNestInset(1), style_(st)
 {
        name_ = verbose();
 }
@@ -43,26 +43,26 @@ void MathSizeInset::draw(Painter & pain, int x, int y)
 }
 
 
-void MathSizeInset::Metrics(MathStyles /* st */, int, int)
+void MathSizeInset::metrics(MathStyles /* st */)
 {
-       xcell(0).Metrics(style_);
+       xcell(0).metrics(style_);
        ascent_   = xcell(0).ascent_;
        descent_  = xcell(0).descent_;
        width_    = xcell(0).width_;
 }
 
 
-void MathSizeInset::Write(std::ostream & os, bool fragile) const
+void MathSizeInset::write(std::ostream & os, bool fragile) const
 {
        os << "{\\" << name() << " ";
-       cell(0).Write(os, fragile);
+       cell(0).write(os, fragile);
        os << "}";
 }
 
 
-void MathSizeInset::WriteNormal(std::ostream & os) const
+void MathSizeInset::writeNormal(std::ostream & os) const
 {
        os << "[" << name() << " ";
-       cell(0).WriteNormal(os);
+       cell(0).writeNormal(os);
        os << "]";
 }