]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsable.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetCollapsable.h
index 2e3318ab74853421244512cc37454122f1ba9841..221795dd3b8ee336c4121d953c079b52f25f9460 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(); }
        ///
@@ -137,6 +138,8 @@ public:
        virtual bool usePlainLayout() const { return true; }
        ///
        virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
+       ///
+       docstring floatName(std::string const & type) const;
 protected:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
@@ -146,8 +149,6 @@ protected:
        ///
        Inset * editXY(Cursor & cur, int x, int y);
        ///
-       docstring floatName(std::string const & type) const;
-       ///
        mutable CollapseStatus status_;
 private:
        ///