X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCollapsable.h;h=c7b6d65c3a4f193454ba8bc1dcd73d3a9d4ae19c;hb=9c0281126e5b819a6c10afa1bb585b76cdc4dca2;hp=ec23773123e079217dfd6e77d9f15e835040d370;hpb=625e7609f0bb4087f0cd91ae3853beee6c6ba402;p=lyx.git diff --git a/src/insets/InsetCollapsable.h b/src/insets/InsetCollapsable.h index ec23773123..c7b6d65c3a 100644 --- a/src/insets/InsetCollapsable.h +++ b/src/insets/InsetCollapsable.h @@ -54,6 +54,8 @@ public: void metrics(MetricsInfo &, Dimension &) const; /// void draw(PainterInfo & pi, int x, int y) const; + /// + virtual void drawBackground(PainterInfo &, int, int) const {} /// return x,y of given position relative to the inset's baseline void cursorPos(BufferView const & bv, CursorSlice const & sl, @@ -127,6 +129,8 @@ public: /// and of course decoration(). Geometry geometry(BufferView const & bv) const; /// + bool canPaintChange(BufferView const & bv) const; + /// bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const; /// bool setMouseHover(BufferView const * bv, bool mouse_hover) const;