]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.h
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / ToolbarBackend.h
index 87162e8d589e3364f972bc7c8d4a992d22b152c2..8845b5ddb86ff871a62c97bca3a2335896b067c2 100644 (file)
@@ -78,7 +78,7 @@ public:
                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
-               MATHMACROTEMPLATE = 1024 //< show in math macro
+               MATHMACROTEMPLATE = 1024 //< show in math macro template
        };
        /// the toolbar items
        typedef std::vector<ToolbarItem> Items;
@@ -96,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 &);
@@ -133,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;