]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsable.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetCollapsable.h
index 2e3318ab74853421244512cc37454122f1ba9841..74dfbdf6e4e158d54ac36fa81e972cb59f594f5c 100644 (file)
@@ -33,7 +33,7 @@ namespace frontend { class Painter; }
 class InsetCollapsable : public InsetText {
 public:
        ///
-       InsetCollapsable(Buffer const &, InsetText::UsePlain = InsetText::PlainLayout);
+       InsetCollapsable(Buffer *, InsetText::UsePlain = InsetText::PlainLayout);
        ///
        InsetCollapsable(InsetCollapsable const & rhs);
        ///
@@ -127,7 +127,8 @@ public:
        ///
        bool setMouseHover(bool mouse_hover);
        ///
-       ColorCode backgroundColor() const { return getLayout().bgcolor(); }
+       ColorCode backgroundColor(PainterInfo const &) const
+               { return getLayout().bgcolor(); }
        ///
        ColorCode labelColor() const { return getLayout().labelfont().color(); }
        ///