]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderGraphic.h
More switches and whitespace fixes
[lyx.git] / src / insets / RenderGraphic.h
index e27f5f192f25ad46c42a76568ac5532b1406bfc8..b41b82e61aa1c33753dd18e29d0cb34b2dadecab 100644 (file)
@@ -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; }