LAYOUTS,
/// a special widget to insert tabulars
TABLEINSERT,
- ///
+ ///
POPUPMENU,
///
ICONPALETTE
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;
Items items;
/// flags
Flags flags;
+ /// store flags when coming to fullscreen mode
+ Flags before_fullscreen;
/// read a toolbar from the file
ToolbarInfo & read(Lexer &);
/// read ui toolbar settings
void readToolbarSettings(Lexer &);
+
///
- ToolbarInfo const & getToolbar(std::string const & name) const;
+ ToolbarInfo const * getDefinedToolbarInfo(std::string const & name) const;
///
- ToolbarInfo & getToolbar(std::string const & name);
+ 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 toolbars
+ /// all the defined toolbars
Toolbars toolbars;
/// toolbars listed