]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetinfo.h
reformatting and remove using delc
[lyx.git] / src / insets / insetinfo.h
index a3948b003b531984b73ace2320d7e75ff76fa053..6312551c7c62595197b36567a3a88fd978a73065 100644 (file)
@@ -38,25 +38,28 @@ public:
        ///
        ~InsetInfo();
        ///
-       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 &, signed char fragile, bool free_spc) const;
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Linuxdoc(std::ostream &) const;
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
-       int DocBook(std::ostream &) const;
+       int Linuxdoc(Buffer const *, std::ostream &) const;
+       ///
+       int DocBook(Buffer const *, std::ostream &) const;
        /// what appears in the minibuffer when opening
-       char const * EditMessage() const;
+       string const EditMessage() const;
        ///
        void Edit(BufferView *, int, int, unsigned int);
        ///
@@ -64,7 +67,7 @@ public:
        ///
        Inset::Code LyxCode() const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
        static void CloseInfoCB(FL_OBJECT *, long data);
 private:
@@ -74,5 +77,7 @@ private:
        FL_FORM * form;
        ///
        FL_OBJECT * strobj;
+       ///
+       LyXFont labelfont;
 };
 #endif