]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_data.h
bug + spped fixes + small stuff
[lyx.git] / src / mathed / math_data.h
index 6d166f23c40aa2b5c76756edaca2f7e619d75d06..87ed99c495595460905eaa7ebd18614e29cbe924 100644 (file)
@@ -1,18 +1,15 @@
 // -*- C++ -*-
 /**
- *   You are free to use and modify this code under the terms of
- *   the GNU General Public Licence version 2 or later.
- */
-
-/** \class MathArray
-    \brief Low level container for math insets
- *  \author Alejandro Aguilar Sierra
- *  \author André Pönitz
- *  \author Lars Gullik Bjønnes
+ * \file math_data.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
+ * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
-    \version February 2001
-  */
+ * Full author contact details are available in file CREDITS.
+ */
 
 #ifndef MATH_DATA_H
 #define MATH_DATA_H
@@ -123,6 +120,8 @@ public:
        int xm() const { return xo_ + dim_.wid / 2; }
        /// access to cached y coordinate of mid point of last drawing
        int ym() const { return yo_ + (dim_.des - dim_.asc) / 2; }
+       ///
+       bool contains(int x, int y) const;
        /// write access to coordinate;
        void setXY(int x, int y) const;
        /// returns x coordinate of given position in the array