]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_fracinset.h
LyX Drinkers United: patch 2
[features.git] / src / mathed / math_fracinset.h
index 27d9ed61a5a3305bf938d19aec48e706e4ffb3b4..072d265bca1dfc221a12341fe5e19d1479e0b7d7 100644 (file)
@@ -14,7 +14,7 @@
 class MathFracInset : public MathInset {
 public:
        ///
-       explicit MathFracInset(short ot = LM_OT_FRAC);
+       explicit MathFracInset(MathInsetTypes ot = LM_OT_FRAC);
        ///
        virtual MathInset * Clone() const;
        ///
@@ -33,6 +33,14 @@ public:
        virtual bool idxLeft(int &, int &) const;
        ///
        virtual bool idxRight(int &, int &) const;
+       ///
+       virtual bool idxFirstUp(int & idx, int & pos) const;
+       ///
+       virtual bool idxFirstDown(int & idx, int & pos) const;
+       ///
+       virtual bool idxLastUp(int & idx, int & pos) const;
+       ///
+       virtual bool idxLastDown(int & idx, int & pos) const;
 };
 
 #endif