X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FToolbarBackend.h;h=7d9fc9f6b914729081bd8c95f033a996287efb0a;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=bdbed6a6db9f19ed125f460426eaae91f48e26cf;hpb=577eaa14f81064a1c9634a5501f0d7a5d51d216b;p=lyx.git diff --git a/src/ToolbarBackend.h b/src/ToolbarBackend.h index bdbed6a6db..7d9fc9f6b9 100644 --- a/src/ToolbarBackend.h +++ b/src/ToolbarBackend.h @@ -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 &);