]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetBranch.h
index 72d30a263ff199fd3c614a7d1da606e7ab39d278..4ae2f191242df11578a7b0078336405afacb765c 100644 (file)
@@ -53,6 +53,8 @@ public:
        ///
        void setButtonLabel();
        ///
+       virtual Color_color backgroundColor() const;
+       ///
        bool showInsetDialog(BufferView *) const;
        ///
        int latex(Buffer const &, odocstream &,
@@ -78,7 +80,8 @@ public:
        bool isBranchSelected(Buffer const & buffer) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
-
+       // 
+       virtual void updateLabels(Buffer const &, ParIterator const &);
 protected:
        ///
        InsetBranch(InsetBranch const &);
@@ -89,7 +92,7 @@ protected:
 private:
        friend class InsetBranchParams;
 
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// used by the constructors
        void init();