]> git.lyx.org Git - features.git/blobdiff - src/mathed/formula.h
read the Changelog
[features.git] / src / mathed / formula.h
index da8f6d69dc54494e7eabe1e0618cf94f5c17e50b..fa9412e33f74095f67ebd40bfbd86d9b72d93237 100644 (file)
@@ -41,25 +41,26 @@ public:
        ///
        ~InsetFormula();
        ///
-       int ascent(Painter &, LyXFont const &) const;
+       int ascent(BufferView *, LyXFont const &) const;
        ///
-       int descent(Painter &, LyXFont const &) const;
+       int descent(BufferView *, LyXFont const &) const;
        ///
-       int width(Painter &, LyXFont const &) const;
+       int width(BufferView *, LyXFont const &) const;
        ///
-       void draw(Painter &, LyXFont const &, int baseline, float & x) const;
+       void draw(BufferView *,LyXFont const &, int, float &, bool) const;
        ///
-       void Write(std::ostream &) const;
+       void Write(Buffer const *, std::ostream &) const;
        ///
-       void Read(LyXLex & lex);
+       void Read(Buffer const *, LyXLex & lex);
        ///
-       int Latex(std::ostream &, bool fragile, bool free_spc) const;
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Ascii(std::ostream &) const;
+       int Ascii(Buffer const *, std::ostream &) const;
        ///
-       int Linuxdoc(std::ostream &) const;
+       int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(std::ostream &) const;
+       int DocBook(Buffer const *, std::ostream &) const;
        ///
        void Validate(LaTeXFeatures &) const;
        ///
@@ -88,7 +89,7 @@ public:
        ///
        void HideInsetCursor(BufferView *);
        ///
-       void GetCursorPos(int &, int &) const;
+       void GetCursorPos(BufferView *, int &, int &) const;
        ///
        void ToggleInsetSelection(BufferView * bv);
        ///
@@ -113,12 +114,17 @@ public:
        std::vector<string> getLabelList() const;
    
 protected:
+       ///
        void UpdateLocal(BufferView * bv);
+       ///
        MathParInset * par;
+       ///
        static MathedCursor * mathcursor;
     
 private:
+       ///
        bool disp_flag;
+       ///
        string label;
 };