]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_mboxinset.h
some (yet unfinished) up/down work
[lyx.git] / src / mathed / math_mboxinset.h
index a7199541c7ba961b7eb35fbe3bc3f871bbf60a56..59f13be5067a324c6f9d1a8e928088b45e98c6e7 100644 (file)
@@ -27,8 +27,7 @@ public:
        /// draw according to cached metrics
        void draw(PainterInfo &, int x, int y) const;
        ///
-       void priv_dispatch(LCursor & cur, FuncRequest & cmd);
-
+       void drawSelection(PainterInfo & pi, int x, int y) const;
        ///
        bool inMathed() const { return false; }
        ///
@@ -42,8 +41,10 @@ public:
        ///
        LyXText * getText(int) const;
        ///
-       void getCursorPos(LCursor const & cur, int & x, int & y) const;
+       void cursorPos(CursorSlice const & sl, bool boundary, int & x, int & y) const;
 protected:
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+
        ///
        mutable LyXText text_;
        ///