]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetBranch.h
index f6f90dbe98948a907a4daccc35ddc8855de25a20..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,18 +80,19 @@ 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 &);
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
-       docstring insetName() const { return from_ascii("Branch"); }
+       docstring name() const { return from_ascii("Branch"); }
 private:
        friend class InsetBranchParams;
 
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// used by the constructors
        void init();