]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / insets / InsetGraphics.h
index 6d2da3bc6ac990bfb57a178337abff61e74d6a3c..281e3057c2e9f482918237f94835b438175e5102 100644 (file)
@@ -34,6 +34,9 @@ public:
        ///
        ~InsetGraphics();
        ///
+       void setBuffer(Buffer & buffer);
+       ///
+       bool isLabeled() const { return true; }
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        EDITABLE editable() const;
@@ -79,6 +82,11 @@ public:
        void registerEmbeddedFiles(EmbeddedFileList &) const;
        ///
        void updateEmbeddedFile(EmbeddedFile const &);
+       ///
+       void addToToc(ParConstIterator const &) const;
+       ///
+       docstring contextMenu(BufferView const & bv, int x, int y) const;
+
        /// Force inset into LTR environment if surroundings are RTL?
        virtual bool forceLTR() const { return true; }
 protected: