]> git.lyx.org Git - features.git/blobdiff - src/insets/inseterror.h
read the Changelog
[features.git] / src / insets / inseterror.h
index 519da5fe93dff0ddeeac40001ac9138aee86016f..d1a19f8491f6002a7f5d98fb606a1f587c7ae565 100644 (file)
   The edit-operation opens a 
   dialog with the text of the error-message. The inset is displayed as 
   "Error" in a box, and automatically deleted. */
-class InsetError: public Inset {
+class InsetError : public Inset {
 public:
        ///
        explicit
        InsetError(string const & string);
+#if 0
        ///
        InsetError();
+#endif
        ///
        ~InsetError();
        ///
-       int ascent(Painter &, LyXFont const & font) const;
+       int ascent(BufferView *, LyXFont const & font) const;
        ///
-       int descent(Painter &, LyXFont const & font) const;
+       int descent(BufferView *, LyXFont const & font) const;
        ///
-       int width(Painter &, LyXFont const & font) const;
+       int width(BufferView *, LyXFont const & font) const;
        ///
-       void draw(Painter &, LyXFont const & font, 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;
        ///
        bool AutoDelete() const;
        /// what appears in the minibuffer when opening