]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
Remove hardcoded values
[lyx.git] / src / mathed / InsetMathScript.h
index ecdda3b5a71e9262b335133e1a88cf282aece5e7..d0707439b9a75bc2c79204e160ee815fded49104 100644 (file)
@@ -33,6 +33,8 @@ public:
        ///
        mode_type currentMode() const { return MATH_MODE; }
        ///
+       MathClass mathClass() const;
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -110,6 +112,9 @@ public:
        void validate(LaTeXFeatures &features) const;
 protected:
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
+       /// do we want to handle this event?
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
+               FuncStatus & status) const;
 private:
        virtual Inset * clone() const;
        /// returns x offset for main part