]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
The last commit was, uhh, not what I intended.
[lyx.git] / src / insets / Inset.h
index 350a0bb356297f9ae432d7659c0419ec541dfe2b..48341f119c3d4d93e32d6acd07dd33b8815b3e8a 100644 (file)
@@ -173,6 +173,9 @@ public:
        virtual void draw(PainterInfo & pi, int x, int y) const = 0;
        /// draw inset selection if necessary
        virtual void drawSelection(PainterInfo &, int, int) const {}
+       /// draw inset background if the inset has an own background and a
+       /// selection is drawn by drawSelection.
+       virtual void drawBackground(PainterInfo &, int, int) const {}
        ///
        virtual bool editing(BufferView const * bv) const;
        ///