]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.h
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetspecialchar.h
index 2bc1cb9b1630ab22792832176d44749e5c4275c3..6fe2ecc4ecaeadc6b8e77012fa76888ca77db427 100644 (file)
@@ -46,9 +46,9 @@ public:
        ///
        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
@@ -63,9 +63,7 @@ public:
        ///
        int docbook(Buffer const *, std::ostream &, bool mixcont) const;
        ///
-       virtual Inset * clone(Buffer const &) const;
-       ///
-       //virtual Inset * clone(Buffer const &, bool same_id) const;
+       virtual Inset * clone() const;
        ///
        Inset::Code lyxCode() const { return Inset::SPECIALCHAR_CODE; }
        /// We don't need \begin_inset and \end_inset