]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetinfo.h
reformatting and remove using delc
[lyx.git] / src / insets / insetinfo.h
index a08e46df38d3c0caa3846384d6afa29744e9dbaa..6312551c7c62595197b36567a3a88fd978a73065 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 the LyX Team.
+ *           Copyright 1995-2000 the LyX Team.
  *
  * ====================================================== */
 
@@ -33,39 +33,41 @@ public:
        ///
        InsetInfo();
        ///
+       explicit
        InsetInfo(string const & string);
        ///
        ~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(ostream &);
+       void Write(Buffer const *, std::ostream &) const;
        ///
-       void Read(LyXLex & lex);
+       void Read(Buffer const *, LyXLex & lex);
        ///
-       int Latex(ostream &, signed char fragile);
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Latex(string & file, signed char fragile);
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
-       int Linuxdoc(string & file);
+       int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(string & file);
+       int DocBook(Buffer const *, std::ostream &) const;
        /// what appears in the minibuffer when opening
-       char const * EditMessage() const {return _("Opened note");}
+       string const EditMessage() const;
        ///
-       void Edit(int, int);
+       void Edit(BufferView *, int, int, unsigned int);
        ///
-       unsigned char Editable() const;
+       EDITABLE Editable() const;
        ///
        Inset::Code LyxCode() const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
        static void CloseInfoCB(FL_OBJECT *, long data);
 private:
@@ -75,5 +77,7 @@ private:
        FL_FORM * form;
        ///
        FL_OBJECT * strobj;
+       ///
+       LyXFont labelfont;
 };
 #endif