]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBranch.h
* Lazy MathData to avoid unneeded interpretation of macro definitions
[features.git] / src / insets / InsetBranch.h
index 2dcb87da5f7e4962de2836ec57db9655c89647b6..30305d8235740d18e8b2cb28bf64035b98209321 100644 (file)
@@ -53,7 +53,7 @@ public:
        ///
        void setButtonLabel();
        ///
-       virtual Color_color backgroundColor() const;
+       virtual ColorCode backgroundColor() const;
        ///
        bool showInsetDialog(BufferView *) const;
        ///
@@ -80,8 +80,10 @@ public:
        bool isBranchSelected(Buffer const & buffer) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
-       // 
+       ///
        virtual void updateLabels(Buffer const &, ParIterator const &);
+       ///
+       bool isMacroScope(Buffer const & buf) const;
 protected:
        ///
        InsetBranch(InsetBranch const &);
@@ -94,8 +96,6 @@ private:
 
        virtual Inset * clone() const;
 
-       /// used by the constructors
-       void init();
        ///
        InsetBranchParams params_;
 };