X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FRenderGraphic.h;h=b41b82e61aa1c33753dd18e29d0cb34b2dadecab;hb=bfddee97e191a853f0576f4fab3f095c4e9ce0de;hp=e27f5f192f25ad46c42a76568ac5532b1406bfc8;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/insets/RenderGraphic.h b/src/insets/RenderGraphic.h index e27f5f192f..b41b82e61a 100644 --- a/src/insets/RenderGraphic.h +++ b/src/insets/RenderGraphic.h @@ -29,12 +29,14 @@ public: 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; /// Refresh the info about which file to display and how to display it. void update(graphics::Params const & params); + /// Reloads the image if necessary + void reload() const; /// equivalent to dynamic_cast virtual RenderGraphic * asGraphic() { return this; }