]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderGraphic.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / RenderGraphic.h
index 0d0727b3b31001eb955c59fd7bcac4980e12fa6f..938322fad0abf5497d3c0964c7f11a6779d284db 100644 (file)
@@ -24,12 +24,12 @@ namespace lyx {
 class RenderGraphic : public RenderBase
 {
 public:
-       RenderGraphic(InsetBase const *);
-       RenderGraphic(RenderGraphic const &, InsetBase const *);
-       std::auto_ptr<RenderBase> clone(InsetBase const *) const;
+       RenderGraphic(Inset const *);
+       RenderGraphic(RenderGraphic const &, Inset const *);
+       RenderBase * clone(Inset const *) const;
 
        /// compute the size of the object returned in dim
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        /// draw inset
        void draw(PainterInfo & pi, int x, int y) const;
 
@@ -45,6 +45,7 @@ private:
 
        /// The stored data.
        graphics::Loader loader_;
+       graphics::Loader icon_;
        graphics::Params params_;
 };