]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetGraphics.h
Make the generation of children's tocs more robust
[features.git] / src / insets / InsetGraphics.h
index 5270f2bfa9f9497109e510de965719fafaa9cda7..88ded43e1bb0f9ffe7aac7450deec0c6e4575cf4 100644 (file)
@@ -54,6 +54,8 @@ public:
        InsetGraphicsParams getParams() const { return params_;}
        ///
        bool clickable(BufferView const &, int, int) const { return true; }
+       ///
+       bool canPaintChange(BufferView const &) const { return true; };
 
 private:
        ///
@@ -100,7 +102,7 @@ private:
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
        void addToToc(DocIterator const & di, bool output_active,
-                                 UpdateType utype) const;
+                                 UpdateType utype, TocBackend & backend) const;
        ///
        std::string contextMenuName() const;
        /// Force inset into LTR environment if surroundings are RTL