X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FToolbarBackend.h;h=7d9fc9f6b914729081bd8c95f033a996287efb0a;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=33694481cdfec0b2522353d286a04b77cc13172a;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/ToolbarBackend.h b/src/ToolbarBackend.h index 33694481cd..7d9fc9f6b9 100644 --- a/src/ToolbarBackend.h +++ b/src/ToolbarBackend.h @@ -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 &);