]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathFont.h
index eec65728b40921ea8066717ce36adc9aedcea529..bfa380d19113aadc17490553c6761d25ced400a6 100644 (file)
@@ -32,9 +32,9 @@ public:
        /// are we in math mode, text mode, or unsure?
        mode_type currentMode() const;
        ///
-       std::string name() const;
+       docstring name() const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -44,10 +44,12 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
+       ///
+       int kerning() const { return cell(0).kerning(); }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };