]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsable.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetCollapsable.h
index 3a1591f32f178baba21a095cb1482888bf1eb617..3cb7aaad937d9db9b8275d92810d45581e5cfffe 100644 (file)
@@ -47,7 +47,7 @@ public:
        ///
        InsetLayout const & getLayout() const { return *layout_; } 
        ///
-       void setLayout(BufferParams const &);
+       void setLayout();
        /// (Re-)set the character style parameters from \p tc according
        /// to name()
        void setLayout(DocumentClass const * const tc);
@@ -138,6 +138,8 @@ public:
        ///
        ColorCode backgroundColor() const { return getLayout().bgcolor(); }
        ///
+       ColorCode labelColor() const { return getLayout().labelfont().color(); }
+       ///
        int latex(odocstream &, OutputParams const &) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
@@ -174,7 +176,7 @@ protected:
        ///
        Inset * editXY(Cursor & cur, int x, int y);
        ///
-       docstring floatName(std::string const & type, BufferParams const &) const;
+       docstring floatName(std::string const & type) const;
        ///
        virtual void resetParagraphsFont();
        ///