]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.h
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / ToolbarBackend.h
index 95dc8900b726e9021a1ff9aabf19d1907c8ccb57..8845b5ddb86ff871a62c97bca3a2335896b067c2 100644 (file)
@@ -77,7 +77,8 @@ public:
                LEFT = 64, //< show at left
                RIGHT = 128, //< show at right
                REVIEW = 256, //< show when change tracking is enabled
-               AUTO = 512  //< only if AUTO is set, when MATH, TABLE and REVIEW is used
+               AUTO = 512,  //< only if AUTO is set, when MATH, TABLE and REVIEW is used
+               MATHMACROTEMPLATE = 1024 //< show in math macro template
        };
        /// the toolbar items
        typedef std::vector<ToolbarItem> Items;
@@ -95,6 +96,8 @@ public:
        Items items;
        /// flags
        Flags flags;
+       /// store flags when coming to fullscreen mode
+       Flags before_fullscreen;
 
        /// read a toolbar from the file
        ToolbarInfo & read(Lexer &);
@@ -132,6 +135,10 @@ public:
        ///
        ToolbarInfo * getUsedToolbarInfo(std::string const & name);
 
+       // FIXME should be deleted when every window has its own toolbar config.
+       /// number of toggleFullScreen calls, i.e. number of FullScreen windows.
+       int fullScreenWindows;
+
 private:
        /// all the defined toolbars
        Toolbars toolbars;