]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.h
* src/tabular.[Ch]: simplify plaintext methods, because there
[lyx.git] / src / ToolbarBackend.h
index 33694481cdfec0b2522353d286a04b77cc13172a..7d9fc9f6b914729081bd8c95f033a996287efb0a 100644 (file)
@@ -52,7 +52,9 @@ public:
                TOP = 16, //< show at top
                BOTTOM = 32, //< show at bottom
                LEFT = 64, //< show at left
-               RIGHT = 128 //< show at right
+               RIGHT = 128, //< show at right
+               REVIEW = 256, //< shown when change tracking is enabled
+               AUTO = 512  //< only if AUTO is set, will MATH, TABLE and REIVEW is used
        };
 
        /// a toolbar
@@ -78,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 &);