]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.h
* src/tabular.[Ch]: simplify plaintext methods, because there
[lyx.git] / src / ToolbarBackend.h
index bdbed6a6db9f19ed125f460426eaae91f48e26cf..7d9fc9f6b914729081bd8c95f033a996287efb0a 100644 (file)
@@ -53,7 +53,8 @@ public:
                BOTTOM = 32, //< show at bottom
                LEFT = 64, //< show at left
                RIGHT = 128, //< show at right
-               REVIEW = 256 //< shown when change tracking is enabled
+               REVIEW = 256, //< shown when change tracking is enabled
+               AUTO = 512  //< only if AUTO is set, will MATH, TABLE and REIVEW is used
        };
 
        /// a toolbar
@@ -79,6 +80,10 @@ public:
 
        Toolbars::const_iterator end() const { return usedtoolbars.end(); }
 
+       Toolbars::iterator begin() { return usedtoolbars.begin(); }
+
+       Toolbars::iterator end() { return usedtoolbars.end(); }
+
        /// read a toolbar from the file
        void read(LyXLex &);