]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_pos.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_pos.h
index e8c5ac0839f8ef9f94154f0e292be55925a087fb..85198c782f1ddf43a32deb2e3b5ee5f69a1f97ec 100644 (file)
@@ -1,8 +1,9 @@
 #ifndef MATH_POS_H
 #define MATH_POS_H
 
+
 #include <iosfwd>
-#include "math_xdata.h"
+#include "math_data.h"
 
 
 /// Description of a position
@@ -17,12 +18,10 @@ public:
        MathArray & cell() const;
        /// returns cell corresponding to this position
        MathArray & cell(MathArray::idx_type idx) const;
-       /// returns xcell corresponding to this position
-       MathXArray & xcell() const;
-       /// returns xcell corresponding to this position
-       MathXArray & xcell(MathArray::idx_type idx) const;
        /// gets screen position of the thing
        void getPos(int & x, int & y) const;
+       /// set position
+       void setPos(MathArray::pos_type pos);
 
 public:
        /// pointer to an inset