]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
pimpl not needed here
[lyx.git] / src / insets / InsetBranch.h
index 4ae2f191242df11578a7b0078336405afacb765c..754e788cb6f594aec5f89c63de0f8002cdd7ebf3 100644 (file)
@@ -45,7 +45,7 @@ public:
        ///
        virtual docstring const editMessage() const;
        ///
-       Inset::Code lyxCode() const { return Inset::BRANCH_CODE; }
+       InsetCode lyxCode() const { return BRANCH_CODE; }
        ///
        void write(Buffer const &, std::ostream &) const;
        ///
@@ -53,7 +53,7 @@ public:
        ///
        void setButtonLabel();
        ///
-       virtual Color_color backgroundColor() const;
+       virtual ColorCode backgroundColor() const;
        ///
        bool showInsetDialog(BufferView *) const;
        ///
@@ -94,8 +94,6 @@ private:
 
        virtual Inset * clone() const;
 
-       /// used by the constructors
-       void init();
        ///
        InsetBranchParams params_;
 };