]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBox.h
Fix compiling errors caused by r18701 (moving drawMarkers and drawMarkers2 back to...
[lyx.git] / src / mathed / InsetMathBox.h
index e3bd98277dc9476f4691eff0ac50ea850ad24f59..b217dc57fa288778d1ad8c64b783082510cf0181 100644 (file)
 namespace lyx {
 
 
-class LyXFont;
+class Font;
 
 /// Support for \\mbox
 
 class InsetMathBox : public InsetMathNest {
 public:
        ///
-       explicit InsetMathBox(std::string const & name);
+       explicit InsetMathBox(docstring const & name);
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -39,12 +39,12 @@ public:
        ///
        void normalize(NormalStream & ns) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
-       std::string name_;
+       docstring name_;
 };