]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_pos.h
small up/down tweaking
[lyx.git] / src / mathed / math_pos.h
index d238fb93f69c1617546ebd77e4fb1244f0b62b92..a885294adbd8fda22c18bbc78002f3c6eb3b3f0d 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef MATH_POS_H
 #define MATH_POS_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include <iosfwd>
 #include "math_data.h"
 
@@ -19,6 +23,8 @@ public:
        MathArray & cell(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