]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxinset.h
preview as preview can...
[lyx.git] / src / mathed / math_boxinset.h
index 0dfc8e44760caa4c344ca52eca9ec80bab018c9d..59fd02d1ac3c212638df7f0570ffd254e5109bfb 100644 (file)
@@ -16,9 +16,13 @@ class LyXFont;
 class MathBoxInset : public MathGridInset {
 public:
        ///
-       explicit MathBoxInset(string const &);
+       explicit MathBoxInset(string const & name);
        ///
        MathInset * clone() const;
+       ///
+       void metrics(MathMetricsInfo & mi) const;
+       ///
+       void draw(MathPainterInfo & pi, int x, int y) const;
        /// identifies BoxInsets
        MathBoxInset * asBoxInset() { return this; }
        /// identifies BoxInsets
@@ -28,9 +32,7 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       void normalize(NormalStream &) const;
-       ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void normalize(NormalStream & ns) const;
 
 private:
        ///
@@ -38,4 +40,6 @@ private:
        ///
        string name_;
 };
+
+
 #endif