]> 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 d6ccfe2331ab6b42ddd4097f01b431d0029275c8..88ded43e1bb0f9ffe7aac7450deec0c6e4575cf4 100644 (file)
@@ -53,7 +53,9 @@ public:
 
        InsetGraphicsParams getParams() const { return params_;}
        ///
-       bool clickable(int, int) const { return true; }
+       bool clickable(BufferView const &, int, int) const { return true; }
+       ///
+       bool canPaintChange(BufferView const &) const { return true; };
 
 private:
        ///
@@ -99,7 +101,8 @@ private:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void addToToc(DocIterator const & di, bool output_active) const;
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype, TocBackend & backend) const;
        ///
        std::string contextMenuName() const;
        /// Force inset into LTR environment if surroundings are RTL