]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetBranch.h
index 682e8ffd3983225d7633964ee6a27330fc8c48e4..4ae2f191242df11578a7b0078336405afacb765c 100644 (file)
@@ -53,16 +53,18 @@ public:
        ///
        void setButtonLabel();
        ///
+       virtual Color_color backgroundColor() const;
+       ///
        bool showInsetDialog(BufferView *) const;
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
        ///
        void textString(Buffer const & buf, odocstream &) const;
        ///
@@ -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();