]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_data.h
revert Buffer LyxText->InsetText commit
[lyx.git] / src / mathed / math_data.h
index 05caf55d00133252657fa8b662078383d6ab0515..87ed99c495595460905eaa7ebd18614e29cbe924 100644 (file)
@@ -120,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