X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathMakebox.h;h=480f42d70a59f6083f2b5617fb87aab96eae72c4;hb=a746aa52146257c0e7a2d60123f63dccad5b2751;hp=840060ad747735525ac674e198e741bf78246001;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathMakebox.h b/src/mathed/InsetMathMakebox.h index 840060ad74..480f42d70a 100644 --- a/src/mathed/InsetMathMakebox.h +++ b/src/mathed/InsetMathMakebox.h @@ -14,6 +14,9 @@ #include "InsetMathNest.h" + +namespace lyx { + /// Extra nesting: \\makebox. // consolidate with InsetMathFrameBox? @@ -22,7 +25,7 @@ public: /// InsetMathMakebox(); /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -32,11 +35,14 @@ public: /// mode_type currentMode() const { return TEXT_MODE; } /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; /// width of '[' in current font mutable int w_; }; + + +} // namespace lyx #endif