X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathFrameBox.h;h=fc38c0bd262f811ade9daae2f64320369b30e25f;hb=98fb638d61d38df1443339de4e8ba58c7c81784a;hp=7488f8f671fdd78c748c8f37b62d7cf200f64bfe;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathFrameBox.h b/src/mathed/InsetMathFrameBox.h index 7488f8f671..fc38c0bd26 100644 --- a/src/mathed/InsetMathFrameBox.h +++ b/src/mathed/InsetMathFrameBox.h @@ -15,13 +15,16 @@ #include "InsetMathNest.h" +namespace lyx { + + /// Extra nesting class InsetMathFrameBox : public InsetMathNest { public: /// InsetMathFrameBox(); /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -31,9 +34,12 @@ public: /// mode_type currentMode() const { return TEXT_MODE; } private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; /// width of '[' in current font mutable int w_; }; + + +} // namespace lyx #endif