]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.h
cursor is no more damaging the background. L-shaped cursor is broken right now....
[lyx.git] / src / mathed / InsetMathMBox.h
index 39fa6e996a64da3f903abd645d35dd68d6201295..cc621b71c7efd1573d2d9e5ff8843d7f9367f118 100644 (file)
@@ -16,6 +16,9 @@
 #include "lyxtext.h"
 
 
+namespace lyx {
+
+
 // almost a substitute for the real text inset...
 
 class InsetMathMBox : public InsetMathDim {
@@ -36,12 +39,13 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       int latex(Buffer const &, std::ostream & os,
+       int latex(Buffer const &, odocstream & os,
                        OutputParams const & runparams) const;
        ///
        LyXText * getText(int) const;
        ///
-       void cursorPos(CursorSlice const & sl, bool boundary, int & x, int & y) const;
+       void cursorPos(BufferView const & bv, CursorSlice const & sl,
+               bool boundary, int & x, int & y) const;
 protected:
        virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
 
@@ -53,4 +57,7 @@ private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
+
+
+} // namespace lyx
 #endif