]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_scriptinset.h
whichFont down to 5.3%
[lyx.git] / src / mathed / math_scriptinset.h
index 608ce1fda5cc4f2978163b3e9b2aa837f3a0d450..f09f7154a86fa4f8f329196ecff1f25bb44fffdb 100644 (file)
@@ -34,11 +34,11 @@ public:
        ///
        void draw(MathInset const * nuc, Painter &, int x, int y) const;
        ///
-       int ascent(MathInset const * nuc) const;
+       int ascent2(MathInset const * nuc) const;
        ///
-       int descent(MathInset const * nuc) const;
+       int descent2(MathInset const * nuc) const;
        ///
-       int width(MathInset const * nuc) const;
+       int width2(MathInset const * nuc) const;
 
        ///
        bool idxLeft(idx_type &, pos_type &) const;
@@ -68,6 +68,8 @@ public:
        bool hasDown() const;
        /// do we have a script?
        bool has(bool up) const;
+       /// do we have a anything?
+       bool empty() const;
        /// remove script
        void removeScript(bool up);
        /// remove script