]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
Finally make the label color of multiple index entries work.
[lyx.git] / src / insets / Inset.h
index f80bff6c9fea70e537c3aca67000a9d5fba41894..820102a257d54ce9cd740d901b041b1ffb8761d3 100644 (file)
@@ -27,7 +27,6 @@ namespace lyx {
 
 class BiblioInfo;
 class Buffer;
-class BufferParams;
 class BufferView;
 class Change;
 class CompletionList;
@@ -385,7 +384,7 @@ public:
        ///
        virtual docstring name() const;
        ///
-       virtual InsetLayout const & getLayout(BufferParams const & bp) const;
+       virtual InsetLayout const & getLayout() const;
        /// used to toggle insets
        /// is the inset open?
        /// should this inset be handled like a normal charater
@@ -487,9 +486,9 @@ public:
        /// set the change for the entire inset
        virtual void setChange(Change const &) {}
        /// accept the changes within the inset
-       virtual void acceptChanges(BufferParams const &) {};
+       virtual void acceptChanges() {};
        /// reject the changes within the inset
-       virtual void rejectChanges(BufferParams const &) {};
+       virtual void rejectChanges() {};
 
        ///
        virtual Dimension const dimension(BufferView const &) const;
@@ -498,6 +497,8 @@ public:
        ///
        virtual ColorCode backgroundColor() const;
        ///
+       virtual ColorCode labelColor() const;
+       ///
        enum CollapseStatus {
                Collapsed,
                Open