X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FRenderGraphic.h;h=938322fad0abf5497d3c0964c7f11a6779d284db;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=0d0727b3b31001eb955c59fd7bcac4980e12fa6f;hpb=c8d00ed1272cd489041bed2115081008b6a26489;p=lyx.git diff --git a/src/insets/RenderGraphic.h b/src/insets/RenderGraphic.h index 0d0727b3b3..938322fad0 100644 --- a/src/insets/RenderGraphic.h +++ b/src/insets/RenderGraphic.h @@ -24,12 +24,12 @@ namespace lyx { class RenderGraphic : public RenderBase { public: - RenderGraphic(InsetBase const *); - RenderGraphic(RenderGraphic const &, InsetBase const *); - std::auto_ptr 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_; };