]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspace.h
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetspace.h
index c92b173c43ae634549a65051ff6dc98962162479..8ff805ea3d692d5efb9c507f792bb60e2979c35d 100644 (file)
@@ -46,23 +46,24 @@ public:
        };
 
        ///
-       InsetSpace() {}
+       InsetSpace();
+
        ///
        explicit
        InsetSpace(Kind k);
        ///
        Kind kind() const;
        ///
-       void dimension(BufferView *, LyXFont const &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
-       void draw(BufferView *, LyXFont const &, int, float &) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(Buffer const *, std::ostream &) const;
        /// Will not be used when lyxf3
        void read(Buffer const *, LyXLex & lex);
        ///
-       int latex(Buffer const *, std::ostream &, LatexRunParams const &,
-                 bool fragile, bool free_spc) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
@@ -70,7 +71,7 @@ public:
        ///
        int docbook(Buffer const *, std::ostream &, bool mixcont) const;
        ///
-       virtual Inset * clone(Buffer const &, bool same_id = false) const;
+       virtual Inset * clone() const;
        ///
        Inset::Code lyxCode() const { return Inset::SPACE_CODE; }
        /// We don't need \begin_inset and \end_inset